4 Replies Latest reply on Sep 3, 2010 10:16 AM by chris.campbell

    AIR 2 fullscreen_interactive with stageScale


      I did Adobe AIR application while ago in AIR 1.5 for my client..


      Application was in fullscreen mode with interactive abilities:

      stage.scaleMode = StageScaleMode.SHOW_ALL;

      stage.align = StageAlign.TOP_LEFT;

      stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;


      Everything worked perfectly when I had AIR 1.5 installed on my PC...


      After I update AIR to version 2, fullscreen is not fuctional anymore as it should be because stage doesn't scale to SHOW_ALL property..it looks like that application has "StageScaleMode.NO_SCALE" applied to it and application doesn't scale up to my screen..


      Is there some changes in AIR 2 how is dealing with this properties??

      Is there any way how to avoid that problem??


      Thanks for help

        • 1. Re: AIR 2 fullscreen_interactive with stageScale

          Im running into this same problem. Can somebody at Adobe respond?


          It's a real pain that this has suddenly changed in a released piece of software and is causing me a massive headache with my client!





          • 2. Re: AIR 2 fullscreen_interactive with stageScale

            Rory and Rack


            I am not sure we have any issues logged about this internally.


            Could you provide a small sample that demonstrates the issue so we can take a look?




            Chris Thilgen

            AIR Engineering

            • 3. Re: AIR 2 fullscreen_interactive with stageScale
              Rack@DJ Level 1


              I still havn't solved this problem, but I manage to force AIR go fullscreen..


              Use scaleX and scaleY property for root to fit your application:


              private var factX:Number;

              private var factY:Number;

              private var factScale:Number;


              public function MyDocumentClass()


                   this.stage.scaleMode = StageScaleMode.SHOW_ALL;

                   this.stage.align = StageAlign.TOP_LEFT;


                   //size of flash movie is 1280 x 800

                   factX = Capabilities.screenResolutionX/1280;

                   factY = Capabilities.screenResolutionY/800;

                   factScale = this.scaleX = this.scaleY = (factX<factY) ? factX:factY;


                   this.stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;


                   //this mess up my comboboxe dropdown width so I had to use this:

                   myCombo.dropdownWidth = myCombo.width * factScale;



              I hope this will help you..

              I will also create sample application for thilgen, but at the moment I don't have time..


              Best regards..

              • 4. Re: AIR 2 fullscreen_interactive with stageScale
                chris.campbell Adobe Employee

                Moved thread to the Adobe AIR Development forum