17/09/2010

How to generate a Link Report in Flex Builder

As part of my never ending search into what is making my Flex swf so large, I needed to generate a link report. The link report shows you all the dependencies when creating a modular Flex app.

To create this in Flex Builder 3, first right click on your project and go to the properties panel, then go the Flex Compiler section:


In the Additional compiler arguments section add -link_report=my_report_name, this will then generate a XML file in your bin-debug folder (if you then debug the app).

No comments: