Re: [flexcoders] Why are "icons" typed as Classes and not just class factories?

2008-07-09 Thread Daniel Gold
Have a look at Ben Stucki's work, it may solve your icon problems. http://blog.benstucki.net/?p=42 As far as getting a class reference from an instance, you could use getQualifiedClassName on the instance to get the name, and then pass that to getDefinitionByName to get the class On Wed, Jul 9,

Re: [flexcoders] Why are "icons" typed as Classes and not just class factories?

2008-07-09 Thread Troy Gilbert
> Factories came late to the party and we couldn't retrofit everything. One > of the things we wish we could do-over. Understood. Anyone done the dirty work of allowing dynamic "classes" to be created? Seems like it'd be entirely doable by generating the bytecode for a class, giving it a unique n

RE: [flexcoders] Why are "icons" typed as Classes and not just class factories?

2008-07-09 Thread Alex Harui
Factories came late to the party and we couldn't retrofit everything. One of the things we wish we could do-over. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thirtyfivemph Sent: Wednesday, July 09, 2008 3:06 PM To: flexcoders@yahoogr