I am creating a Flash program that will be displayed on a touch screen kiosk, so I am creating a .exe projector that needs to display full screen on the monitor. I am using this code to make the stage go to full screen mode:
import flash.events.Event;
import flash.display.StageDisplayState;
stage.addEventListener(Event.ENTER_FRAME,_fullScreen);
function _fullScreen(e:Event):void
{
stage.removeEventListener(Event.ENTER_FRAME,_fullScreen);
stage.displayState = StageDisplayState.FULL_SCREEN;
}
Works fine except when I navigate to a section of the program with video that plays in a component video player. When it loads that section with the video player, the video player scales to full screen also - taking over the entire area.
How do I keep the video player component from also going full screen?