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???