Not sure if this is correct for AS3, but I was under the impression that
there was an actual performance penalty to doing things the first way
(object creation and assignment in the class definition rather than in the
methods or the constructor).

Still, I like doing things the 2nd way, if only because it's habit for me at
this point. In my own twisted little mind it also prevents me from
experiencing the "Where the hell did I define that" syndrome --- I always
know where I set the initial values of my class variables.

Would be interested to know if my memory of [some book I can't remember the
name of] told me right.

jer
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to