0 Replies Latest reply on Jun 16, 2009 4:40 PM by Iszards

    Having a problem only in windows with Flex 3's Full screen.

    Iszards

      Hello Community!


      I am having a problem with Flex 3's full screen functionality. When I use the following code,


      <?xml version="1.0" encoding="utf-8"?>
      <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
           <mx:Script>
                <![CDATA[
                     import flash.display.StageDisplayState;
                     import mx.managers.SystemManager;
                 
                     private function toggleFullScreen():void

                     {

                          systemManager.stage.displayState = StageDisplayState.FULL_SCREEN;
                          break;

                     }
                ]]>
           </mx:Script>
           <mx:Button label="Toggle fullscreen" click="toggleFullScreen()" />
      </mx:WindowedApplication>


       

       

       

      I get the top left pixel... yes just the pixel sized to fit my full screen. I know this because I put a 1 pixel colored border around my window and had just the border color fill my screen. I can still hit escape to cancel out of full screen. I work on a PC, windows vista home. I have had a follow developer run my AIR application on his Mac, although I don’t know his specs. On his Mac everything works perfectly. Problem being this app is intended for Windows based machines.

       

      Any help or pointers would be much appreciated!