This used to be true in AS 2.0 due to a bug in the player that in practice made objects initialized in class declarations static.
It's no longer the case in AS 3.0. Cheers Juan Pablo Califano 2010/2/9 Henrik Andersson <[email protected]> > Greg Ligierko wrote: > >> 1) Do not instantiate objects in properties declaration list. Its 99% >> cases bad. >> > > Allow me to explain why it is bad. It is due to the object only being > created once. Not once per instance of the class, but once total. This is > clearly going to cause issues for any class that is used more than once. > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

