This is a very important missing piece in the reflection API. :( Another workaround option is to use a build script to pre-process the AS files and provide a list of classes as an array of strings or something. Much easier than parsing the SWF (is it even possible to parse SWF in AS3 given that SWF is compressed format and not byte aligned?) Sam
------------------------------------------- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED] _____ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Friday, November 09, 2007 4:39 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] classes in packages > Is there a way to get all the classes that may exist in a package? Programmatically, at runtime? No, because there are no runtime objects representing packages, nor a programmatically accessible list of all classes in a SWF. Instead, you would have to load your own SWF as a ByteArray, parse its ABC blocks to find the fully-qualified names of all the classes inside (such as mx.core.UIComponent, mx.controls.Button, etc.) and from those names determine which classes were in which packages. - Gordon