One of the beauties of Flash's display list API is the ability to
treat almost all visual elements as the universal DisplayObject and
not be concerned with whether they're a simple shape or whether
they're a complex, multi-state movie clip.
But, when it comes to Flex framework widgets, like button
oders@yahoogroups.com
Subject: [flexcoders] Why are "icons" typed as Classes and not just
class factories?
One of the beauties of Flash's display list API is the ability to
treat almost all visual elements as the universal DisplayObject and
not be concerned with whether they're
> 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
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,
4 matches
Mail list logo