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 <pavel.rep...@gmail.com>:
>
> 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
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to