Hi peeps, in the http://chattyfig.figleaf.com/pipermail/flashcoders/2005-June/140802.html i described a method for class name reflection I used. I noticed a while ago it's being used here and there (xray, some arp extensions, etc), so you might want to know it's been updated.
It's part of the xflas2 package now, and the updates are: - a fix for the flash prototype chain bug was added (mainly meaning that using ClassFinder.getPath(this) in a superclass will work as its supposed to:)) - it can now be used to retrieve class names for objects, functionnames for functions, and classnames for functions (the class in which they have been defined). - partial package names can be registered now instead of root packages. I know from John that he extended his version of it, to include a kind of global sweep of all the classes, I haven't incorporated that yet, but may do so in the near future. Use at your own risk ofcourse:) Note that I use a kind of caching mechanism, which currently doesnt update itself. If you use a scenario in which main.swf loads sub.swf which contains new classes, I assume sub.swf will register its classes on its own. greetz JC _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com