I dived into the source of the flex compiler and I found that in the package adobe.abc in the Flexsdk/modules/asc/src/adobe/abc.
as I just use the asc.jar to compile an actionscript file, with the -o2 option on, I found that it optimizes my program well!!
however, when I read the source code of the mxmlc, I found no sign that the bytecode generated was optimized?why doesn't the compiler use the GlobalOptimizer? is the optimizer not yet completed or just as It did , but I haven't fount it?
any suggestions or references are appreciated.
Could you provide more information on how you manage to optimize your swf using asc.jar? How do you import the .abc and the .swf file? Thanks a lot