Currently optimizing an application at work. There are many files in some of the module projects that are not used by the exported (release build) Module.swf’s. Are these unused files included in the swf’s?
What about unused imports?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If there is no reference to them in your code the no, they will not be included in the exported swf. The compiler is smart enough to check for unused imports.
If you’re using the mxmlc to compile then you can set the -link-report flag to true to get a list of dependencies and their sizes. It generates a rather ugly XML file, but see this article for more info and a nice way to view it. http://blog.iconara.net/2007/02/25/visualizing-mxmlcs-link-report/