Optimizing ASF SWF files for size?
Are there any tips / best practices / secrets for optimizing ASF SWF file size? Specifically, any way to get a breakdown of what is taking up space inside the SWF, for example, you used to be in old Flash 7/8 days? I don't use Flash IDE anymore, but now I use Flex Builder or FlashDevelop, so this should be what I can do without Flash IDE.
source to share
If you're wondering what is taking up space in the code, you can get this information from the link report. It's not as detailed as you can get from the Flash IDE, but it does show the size of each class (uncompressed.)
To generate a link report, use a flag -link-report <filename>
in mxmlc. It creates an XML file with information about the classes associated with your SWF.
I used the .XSL file described in the link below to clean it up and make it more readable: http://blog.iconara.net/2007/02/25/visualizing-mxmlcs-link-report/
source to share