使用mxmlc编译编译动作 [英] Compile actionscript using mxmlc compiler
本文介绍了使用mxmlc编译编译动作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你会如何编译动作code,其主类是与使用mxmlc命令行编译包里面?考虑以下 -
How would you compile actionscript code whose main class is inside a package using mxmlc command line compiler? Consider the following -
com.nuaavee::MainClass
com.nuaavee.utility::SomeUtility
MainClass
进口 SomeUtility
类。
有没有办法来编译这些类保存 MainClass
作为主类,以生成SWF?
Is there a way to compile these classes keeping MainClass
as the main class to generate a swf?
推荐答案
下面是已经过测试工作的解决方案 -
Here is a solution that has been tested to work -
mxmlc -output main.swf src/com/nuaavee/MainClass.as -source-path src/
这篇关于使用mxmlc编译编译动作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文