下のアクションスクリプトファイルに、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