title: Any way to analyze the size of a SWF built in Flex?
body: <p>I have a Flex application that seems larger than it should be. There is a lot of code in it, but not a lot of assets and it just seems large, but I'm not sure how to go about figuring out where the space is going.</p>
  
  <p>I know about the –link-report option, but it only gives the sizes of externally linked library classes. I'm very interested in seeing a report of the sizes of all the classes and resources in my application and it would be a huge bonus if I could also view their dependencies. Not knowing how the code is compiled I'm not sure if this is even possible, but it seems like it should since the compiler can give me the sizes of individual classes linked from other libraries.</p>
  
  <p>I did some searching around, but couldn't find anything helpful. Everything points to the optimization techniques of modularizing and externally linking libraries, which I understand and will implement, but I would really love some more detailed reports of what my compiled application looks like.</p>
  
  <p>To be clear, I'm not really interested in tips on how to reduce the file size, just a report on what is used for and which classes are referencing what.</p>
  
  <p>Anybody have any ideas?</p>
  
  <p><strong><em>CORRECTION - The link report does show all classes. My particular project in Flex Builder had several CSS files set to compile to swfs. My link report for the main app was being overwritten by these css compiles!</em></strong></p>