Search code examples
apache-flexactionscriptairblackberry-playbookqnx

VideoDisplay fullscreen


How does one do fullscreen with VideoDisplay?

I am using:

stage.fullScreenSourceRect = new Rectangle(video.x, video.y, video.width, video.height);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.displayState = StageDisplayState.FULL_SCREEN;

But this does not allow me to go back to normal screen, not even i use:

stage.displayState = StageDisplayState.NORMAL

Thanks,


Solution

  • From the playbook dev support forums, you do not use StateDisplay in playbook for video maximization because the screen already runs in StageDisplay.FULLSCREEN_INTERACTIVE so it doesn't work - set the video dimensions to the size of the screen. And then back again to reduce.