views:

63

answers:

2

How do I generate release build of my Flex Application
through IntelliJ Idea, like I do in Flex Builder?

A: 

Does IntelliJ support Ant? Maybe not the answer you're looking for, but you could use the Flex Ant Tasks to build outside of FB.

http://livedocs.adobe.com/flex/3/html/help.html?content=anttasks_1.html

Crusader
+1  A: 
  1. Right click on any project and select module setting.
  2. Select tab "Flex compiler setting"
  3. Last field on this tab is "Additional compiler options:" add "-debug=false" without double quotes to it.
  4. Do this for all the subprojects. (From this form only you can choose different projects).
  5. do a project Rebuild and you will get a smaller swf.

Only problem is you need to keep separate project files for debug and release build, but thats ok, as you release builds are done rarely.

Zimbabao