Flex Production Builds and Included Assets

Two Flex related questions...

There are two things I haven't in IntelliJ yet with Flex projects.

1) Is there an easy way to create the optimized version of the SWF (like Flash Builder's Export Release Build)?

2) Is there a way to get asset files that are in my src dir (but not directly compiled into the app) to be copied to my out dir?

Thanks!

-James

5 comments
Comment actions Permalink

2) add respective pattern at File | Settings | Compiler | Resource patterns

0
Comment actions Permalink

Sorry, the answer for the first question is: to make the release build that doesn't contain debug information and thus makes SWF smaller you need to open File | Settings | Compiler | Flex Compiler and uncheck 'Include debugging info' options.

0
Comment actions Permalink

Thanks for the quick response.  I've filed two feature requests for these things since I'd like to be able to do them at the module level, not globally.
http://youtrack.jetbrains.net/issue/IDEA-62612
http://youtrack.jetbrains.net/issue/IDEA-62613

0
Comment actions Permalink

To turn off debugging info for one separate module you can write -debug=false in Additional compiler options for this module. Additional compiler options take precedence over settings in all other places.

0
Comment actions Permalink

True, but it's a pain to toggle that back and forth when doing development and doing release builds.

0

Please sign in to leave a comment.