The idea is to use it (this) when you have two variables with the same name, usually to distinguish between the class member and a locally declared variable. You must know that :) The compiler won't know to use "this" or not in those cases, so it is important to use it in those contexts.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: October 28, 2005 7:53 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Re: Newbie AS3 question You do know that it (this.) is being added for you at compile time in AS2, right? Muzak ----- Original Message ----- From: "Frédéric v. Bochmann" <[EMAIL PROTECTED]> To: "'Flashcoders mailing list'" <flashcoders@chattyfig.figleaf.com> Sent: Saturday, October 29, 2005 12:53 AM Subject: RE: [Flashcoders] Re: Newbie AS3 question > No need to get hyper about "this". > The matter stays that "this" used to be essential in AS1, thus probably why > people still like to implicate him in their code. But I agree that putting > "this" in an AS2 Class should be used only when necessary. > > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders