"Looks to me like you've lost scope as a result of going to _global."
Nope. _global is simply an object and has nothing to do with scope in this case. "but that car should be available from anywhere within the class, no?" No. When you specify a function reference in setInterval or setTimeout the function's scope only includes local and _global. It does NOT include where the function is defined. In AS3 it would because of function closure, but that's not the case in AS1/AS2. That's why there's the alternative arguments for setInterval and setTimeout. Or you can use Delegate if you want compile-time checking of the function reference. Derek Vadneau ----- Original Message ----- From: eric e. dolecki To: [email protected] Sent: Thursday, June 07, 2007 3:38 PM Subject: SPAM-LOW: Re: [Flashcoders] Private var not accessible? inside a class i have to use _global.setTimeout since its not in the intrinsics, maybe use Delegate, but that car should be available from anywhere within the class, no? eric _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

