아래 작업 스크립트 파일에 mx.controls.Label을 가져올 수 없다는 오류가 발생했습니다. linux의 명령 줄을 통해 컴파일 중이며 환경 변수 경로는 flex가 설치된 위치로 설정됩니다. 이mx 패키지를 가져올 수 없음
package {
import mx.controls.Label;
public class Test
{
public function Test()
{
Alert.show("Test");
}
}
}
편집 해결 :
[[email protected] tmp]# mxmlc Test.as
Loading configuration file /opt/flex/frameworks/flex-config.xml
/tmp/Test.as: Warning: This compilation unit did not have a factoryClass specified in Frame metadata to load the configured runtime shared libraries. To compile without runtime shared libraries either set the -static-link-runtime-shared-libraries option to true or remove the -runtime-shared-libraries option.
/tmp/Test.swf (466 bytes)
최근 게시물 : http://stackoverflow.com/questions/4224044/import-fl-data-dataprovider-is-not-working-in-adobe-cs4/4225181#4225181 – TheDarkIn1978
하지만 같은 문제는 아닙니다/해결책 – Rajeev