You should never have to do that. If for some reason you have to, something is wrong with your workflow.

"this" is and should always be "this".

----- Original Message ----- From: "Rob Emenecker" <[EMAIL PROTECTED]>
To: "'Flash Coders List'" <flashcoders@chattyfig.figleaf.com>
Sent: Friday, January 25, 2008 3:53 PM
Subject: RE: [Flashcoders] nested for loops stumper



yep, you need some kind of scope declaration to tell you where the items are. a lot of people use thisRoot = this; (or something that states the location) and then all you have to do is pass 'thisRoot' around as a reference to where that item is. That way you never have to say 'this' when it's not actualy 'this'.

Thumps himself in the head! Doh! What a great idea. Never thought of doing
that!



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to