BTW, that's because in AIR there can be multiple instances of Stage. Each 
NativeWindow has one.

Gordon Smith
Adobe Flex SDK Team

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of valdhor
Sent: Friday, December 05, 2008 6:54 AM
To: [email protected]
Subject: [flexcoders] Re: Accessing Stage from Class


The Stage object is not globally accessible. You need to access it
through the stage property of a DisplayObject instance.

If your class has access to a DisplayObject use it. Else, pass it.

--- In [email protected]<mailto:flexcoders%40yahoogroups.com>, "Dale 
Fraser" <[EMAIL PROTECTED]> wrote:
>
> I have several classes that need access to the stage.
>
>
>
> How can classes access the stage, do I need to pass it, or is there
a built
> in method.
>
>
>
> Regards
>
> Dale Fraser
>

Reply via email to