Considering we have already done the following actions:
- Flex Framework as RSL
- Compiling with debug=false
- Loading most images at runtime
- Drawing other simple images with flash draw features
- Reducing complex images with pngquant
- Creating modules for secondary features
- Applying ranges to fonts
- Running FlexPMD to find dead code and bad copy-paste
- Running FlashOptimizer and secureSWF (with poor results)
Today our application is 1358k:
- Code: 978k - 72%
- Images: 270k - 20%
- Fonts: 110k - 8%
We believe we spent a lot of time into asset optimization and most of the work is remaining on the code. By analyzing our link-report, our guess is that the heavy part of the code is comming from Flex .mxml nested components. We don't think there is much to do on our pure AS classes.
Is there any analysis or coding best practice in order to reduce the impact of the code on the swf filesize ?
Thanks.
Here is the application : http://www.pearltrees.com/nicolas/137698/