注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

神魔破杜梓的叨叨堂

Programming every day!

 
 
 

日志

 
 
 
 

用Flex Builder在一个Flex项目中编译多个Application  

2008-07-13 15:52:01|  分类: My Tech |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
原文来自ntt.cc
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.

compile-multi-flex-applications-contained-in-one-project-with-flex-builder-img-1


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

compile-multi-flex-applications-contained-in-one-project-with-flex-builder-img-2

compile-multi-flex-applications-contained-in-one-project-with-flex-builder-img-3

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.

compile-multi-flex-applications-contained-in-one-project-with-flex-builder-img-4

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.

compile-multi-flex-applications-contained-in-one-project-with-flex-builder-img-5

compile-multi-flex-applications-contained-in-one-project-with-flex-builder-img-6

  评论这张
 
阅读(1148)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017