2 Replies Latest reply on Oct 28, 2008 6:59 PM by bigwolwolf

    Constraints and Full Screen


      I'm having some trouble with the full screen mode in Adobe AIR.
      I'm using constraints on a Canvas (centered and on the bottom). When I switch to full screen using hardware acceleration (fullScreenSourceRect) the position of the canvas is not updated and the canvas is lying behind the borders of the screen. Also the toolTips are not displayed correctly. I have an image at the top left corner (positioned by hand without constraints). The toolTip is shown outside the screen (to the right) and not to the left inside the viewable area.
      When I do the same in an application designed to run in a browser everything works fine. The canvas is positioned correctly and the tooltip is placed correctly.

      Any solution for this problem? Can this be a bug or did I miss any setting?

      Thank you very much in advance.
        • 1. Re: Constraints and Full Screen
          alad_iim Level 1
          Hello again,

          this seems to be a problem in the AIR-runtime for Windows only.
          When I run the application in fullscreen on Mac, the toolTips are displayed correctly, inside the screen and not out of the border as under windows.
          Is this bug already known?
          • 2. Re: Constraints and Full Screen
            I also have an issue that arises only in the air runtime for Windows. The exact same swf run fine on mac. When you enter in full screen (stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;) any buttons lose their mouse-over display state. The buttons do answer to a click event but the rendering associated with roll over seem to be frozen. Again this happens on Windows only.
            Here is the sample app (mxml):
            <?xml version="1.0"?>
            <mx:WindowedApplication xmlns:mx=" http://www.adobe.com/2006/mxml"
            import flash.display.StageDisplayState;
            import flash.events.Event;
            import flash.utils.getQualifiedClassName;

            public function onCreationComplete():void
            trace("onCreationComplete " + getQualifiedClassName(this));

            public function goFullScreen():void
            stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

            public function goNormal():void
            stage.displayState = StageDisplayState.NORMAL;
            <mx:Button click="goFullScreen()" label="go full screen" id="buttonFS"></mx:Button>
            <mx:Button click="goNormal()" label="go normal" id="buttonNormal"></mx:Button>