在下面的动作脚本文件中有一个错误说无法导入 mx.controls.Label,我通过命令行编译这个,linux 并且环境变量路径设置在安装 flex 的位置,如何解决这个问题
package {
import mx.controls.Label;
public class Test
{
public function Test()
{
Alert.show("Test");
}
}
}
编辑:
[root@localhost 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)