加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

用Flex Builder在一个Flex项目中编译多个Application(.mxml)

发布时间:2020-12-15 00:59:11 所属栏目:百科 来源:网络整理
导读:One day,i want to compile my business app with TestSuiteRunner (from FlexUnit) app at one time using Flex Builder,but i never do this before. Flex Builder can not set two application once. But,it can set modules to be compiled. 1. Add a ne
One day,i want to compile my business app with TestSuiteRunner (from FlexUnit) app at one time using Flex Builder,but i never do this before. Flex Builder can not set two application once. But,it can set modules to be compiled.

1. Add a new mxml application into one existed app and named it as what you want. Mine is TestApp.mxml.


2. Use the right key of your mouse to click your application listed in Flex Navigator,then open the Properties for yourappname dialog.

3. Select Flex Modules panel,“add” TestApp.mxml as a module. Do not “browse” to add TestApp.xml,you can not find it in the Select Module dialog,just edit the Source path like this “src/TestApp.mxml”. Pay attention here : you should select “Do not optimize (module can be loaded by multiple applications)” instead of the default option in order to generate a standalone SWF file.

4.Compile your application using Build Project or Builder All as you wish. Then you can find two,or more if any,SWF files displayed in bin-debug directory.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读