Try that code for AIR application.... not for flex


On Tue, Sep 23, 2008 at 12:56 PM, HISSAM <[EMAIL PROTECTED]> wrote:

> I'm getting this error
>
> SecurityError: Error #2152: Full screen mode is not allowed.
>  at flash.display::Stage/set displayState()
>
>
> I set the following property in
>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> layout="absolute"
>  backgroundGradientColors="[#f9990f,#fbc656]"
>  horizontalScrollPolicy="off" verticalScrollPolicy="off"
> creationComplete="initialise()"
> >
>
> <mx:Script>
> <![CDATA[
>  private function initialise():void
> {
>  systemManager.stage.displayState = StageDisplayState.FULL_SCREEN;//
> StageDisplayState.FULL_SCREEN_INTERACTIVE;
> }
>
>
> ??
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to