6 Replies Latest reply on Jun 24, 2009 2:21 AM by IanCWatkins

    Fullscreen

    FruityKicker

      I've got a problem with going to fullscreen mode.

      this is the code I use use:

      private function toggleDisplay():void {
           if (this.stage.displayState == StageDisplayState.NORMAL){
           this.stage.displayState = StageDisplayState.FULL_SCREEN;
           } else {
           this.stage.displayState = StageDisplayState.NORMAL;
           }
      

      I don't want the extra white area such as in screenshot 2, does anybody know how to do that.

       

      Thanx

       

      Screenhot 1: normal mode

      normal.png

      Screenshot 2: fullscreen mode

      fullscreen.png