Re: [flexcoders] Application in Full Screen

2009-06-15 Thread b_productiv2000
Hello Richard,
this what i use to make my air application run in full screen as 
you expected :
i ran a function Resize on startup -
addedToStage=Resize()

private function Resize():void{

/* this.stage.nativeWindow.width = Capabilities.screenResolutionX;
this.stage.nativeWindow.height = Capabilities.screenResolutionY; */

//trace(NativeWindow.systemMaxSize);
//this.stage.displayState = 
StageDisplayState.FULL_SCREEN_INTERACTIVE;
this.stage.nativeWindow.maximize();
/*  trace(width :  + nativeWindow.width +   + 
Capabilities.screenResolutionX );
trace(height :  + nativeWindow.height +   + 
Capabilities.screenResolutionY); */
}


As you can see i 've try the FULL_SREEN too but that wasn't 
statisfying me.

this.stage.nativeWindow.maximize();
I remember that nativeWindow work only for air application, 
doesn't it ?

Hope it'll work for you :)

Alban


Vivian Richard a écrit :
 I am using this but do not like it, because it will cover everything-
 even the task bar at the bottom of the screen!! Also will not show
 the native window chrome!!! To see those max, min, close button
 you will need to press escape button to make the window smaller
 and after that you will be able to minimize, maximize and close
 the native air app window. What I would like is instead of full screen,
 the window in max mode!!! Any idea???





Re: [flexcoders] Application in Full Screen

2009-06-14 Thread Rohit Sharma
  Hi,

If I am right, you are looking for something like

   Application.application.stage.displayState =
StageDisplayState.FULL_SCREEN;


  Regards,
  Rohit

On Sun, Jun 14, 2009 at 6:04 PM, christophe_jacquelin 
christophe_jacque...@yahoo.fr wrote:



 Hello,

 How to set an application in Full screen (without the navigator buttons) ?

 Thank you,
 Christophe,

  



Re: [flexcoders] Application in Full Screen

2009-06-14 Thread Vivian Richard
I am using this but do not like it, because it will cover everything-
even the task bar at the bottom of the screen!! Also will not show
the native window chrome!!! To see those max, min, close button
you will need to press escape button to make the window smaller
and after that you will be able to minimize, maximize and close
the native air app window. What I would like is instead of full screen,
the window in max mode!!! Any idea???






On Sun, Jun 14, 2009 at 8:55 AM, Rohit Sharmarohit.sharma1...@gmail.com wrote:


   Hi,

                 If I am right, you are looking for something like

    Application.application.stage.displayState =
 StageDisplayState.FULL_SCREEN;


   Regards,
   Rohit

 On Sun, Jun 14, 2009 at 6:04 PM, christophe_jacquelin
 christophe_jacque...@yahoo.fr wrote:


 Hello,

 How to set an application in Full screen (without the navigator buttons) ?

 Thank you,
 Christophe,