Search code examples
apache-flexintellij-ideaflexbuilderrelease-builds

Exporting release build - Flex through Intellij Idea


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


Solution

    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.