Seems like Cor's Array solution would make it through the compiler but would still throw a runtime error, right? I would much more strongly recommend the extending solution that Dave suggests.
On Sat, Jan 24, 2009 at 12:14 PM, Dave Watts <[email protected]> wrote: > > is it actually possible to add a new property > > to an AS3-component, like button? > > In AS3, classes will only allow this if they're dynamic classes, and > most classes aren't dynamic. You could, however, write a new class to > extend Button. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- -jonathan howe _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

