Compile Flex application without debug? Optimisation options for flex compiler?

Posted by maoanz on Stack Overflow See other posts from Stack Overflow or by maoanz
Published on 2009-05-15T09:46:13Z Indexed on 2010/06/17 16:13 UTC
Read the original article Hit count: 167

Filed under:
|
|
|
|

I have created a simple test application with the following code

var i : int; for (i=0; i<3000000; i++){ trace(i); }

When I run the application, it's very slow to load, which means the "trace" is running. I check the flash player by right-clicking, the debugger option is not enable.

So I wonder if there is an option to put in compiler to exclude the trace. Otherwise, I have to remove manually all the trace in the program.

Are there any other options of compiler to optimize the flex application in a maximum way?

Thanks

© Stack Overflow or respective owner

Related posts about flex

Related posts about optimization