private function toggleFullScreen():void {
try {
switch (Application.application.stage.displayState) {
case StageDisplayState.FULL_SCREEN:
Application.application.stage.displayState = StageDisplayState.NORMAL;
break;
default:
Application.application.stage.displayState =
StageDisplayState.FULL_SCREEN;
break;
}
} catch (err:SecurityError) {
// ignore
}
}
but how do i take just the video player(video display) to full
screen??
Thanks in advance
arun
best regards,
arun
On Nov 7, 9:39 am, "Abdul Qabiz" <abdul.qa...@gmail.com> wrote:
> stage.fullScreenSourceRect = new Rectangle (100,100,320,240);
> stage.displayState = "fullscreen"; //StageDisplayState.FULL_SCREEN
>
> You need to pass the rect (x,y width and height) of the area, you want to
> scale... In this case, you can find the x,y and width/height of your video
> in normal mode, set the rect and then change the mode..
>
> -abdul
>
> On Nov 7, 2007 10:13 AM, Ajay k <ajaykempa...@gmail.com> wrote:
>
>
>
> > Hi Arun ,
>
> > Raghu has written an nice article making full screen video Application
> >http://raghuonflex.wordpress.com/2007/03/06/my-full-screen-video-app-...
>
> > With Regards,
> > Ajay K