PS: a couple of notes since my last message could be misleading: 1) By easy to compile I didn't mean that the result of using the SDK compiler will produce the same swf. I just mean it could be a good way to check what classes are included.
2) Any code in the fla will not be included, of course. If you create a ref to some class only in timeline code, it will not be included in the swf compiled with the sdk 2009/4/15, Juan Pablo Califano <[email protected]>: > > If you have a document class in place, it should be easy to compile your > project with the flex SDK compiler. You could compile on the command line, > which is not too hard or try some IDE like Flashdevelop (if you're on > windows), where setting up a project is pretty stright forward. > > The extra compiler argument you need is -link-report > "size-report.xml". This will generate an xml detailed information about all > compiled classes, theirs dependencies, and the optimized and unoptimized > size. You could then parse this xml and create your own "report" as you > like. > > Cheers > Juan Pablo Califano > > > 2009/4/15, Pavel Repkin <[email protected]>: >> >> There are 500 KB of ActionScript code in our project (according to Flash >> size-report) >> That is a lot. >> I want to find the classes (packages) that take most space. >> And then to optimize them. >> And throw away classes that were linked by a mistake. >> >> So I want to find out how much space take individual classes and packages >> in >> the swf. >> >> Do you know a tool that can help me? >> Ideally the app should display class tree with size in KB beside each >> node. >> >> Pasha. >> _______________________________________________ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

