Skip to main content
Known Participant
September 3, 2009
Question

Way to get list classes in Application?

  • September 3, 2009
  • 1 reply
  • 897 views

Is there a way to list all the classes in the application (all the imports)?

I would like to be able to get ahold of a list of the classes using the Compiler API or just in Actionscript.

Thanks for your help,

Lance

This topic has been closed for replies.

1 reply

September 3, 2009

One option is to look at a link-report.  It basically tells you all the classes that get linked in to a swf (and all the dependencies each class has).  It's a compiler option, and you can find out more info about it here: http://livedocs.adobe.com/flex/3/html/help.html?content=performance_06.html .  There are also some application written to help make more sense of this file, like: http://joeberkovitz.com/blog/2008/03/26/itdepends-code-dependency-analysis-for-flexair-applications/

Hope that helps,

Ryan

viatroposAuthor
Known Participant
September 3, 2009

Thanks a lot man, this looks great.

Any more info on swfdump or swfutils?

http://blogs.adobe.com/gosmith/2008/02/disassembling_a_swf_with_swfdu_1.html

I am also wondering, can I then get the flash.utils.describeType XML version of each class?  Or something close, that would be awesome!  I would like to see the metadata in all of the classes, preferably using the compiler things.

Lance