HI Rahul where you are adding the listener??
creationComplete
applicationComplete
bcoz the stage will be available in applicationComplete event...
thats y they are using timer to add stage listener... so its better to
use Stage Class in applicationComplete Event...
will it helps you ??
~sara~
http://sara-intop.blogspot.com
> Please take a look at this linkhttp://
the.fontvir.us/pv3d/tieTheKnot/
> It shows a beautiful way to Full-Screen your application.
> I am trying to achieve this without success.
>
> I am trying to RUN my application in Browser in FULLSCREEN MODE, but getting
> the above error when I press the Button.
> *SecurityError: Error #2152: Full screen mode is not allowed.*
> I am using the FULLSCREEN event.
>
> stage.addEventListener(FullScreenEvent.FULL_SCREEN, fullScreenRedraw);
> Getting this Runtime-error when I include the above statement. (I am already
> importing the reqd libraries from flash)
> *TypeError: Error #1009: Cannot access a property or method of a null object
> reference.*
> Is this supported in Flex 3 ?
>
> Would be grateful if someone can help,
>
> Best Regards,
> Rahul.
>
> --
> *"Learning is not necessary, neither is survival" *