RE: [Flashcoders] Accessing the instance of a class

2007-04-09 Thread Michael Mudge
> -Original Message by David Ngo- > What instance are you trying to access? Your 'whatever' > class? If so, you'll need to use a Delegate to force scope: I'm accustomed to lexical scope, so this was a confusing one for me. I understand exactly what you mean about using a delegate -- that

RE: [Flashcoders] Accessing the instance of a class

2007-04-08 Thread David Ngo
What instance are you trying to access? Your 'whatever' class? If so, you'll need to use a Delegate to force scope: import mx.utils.Delegate; class whatever { public var triggered:Boolean; public var foo:XMLSocket; public function whatever() {