Recently I have tried to convert the flash site to standalone projector with full-screen but the video using FLVPlayback will always take over the entire screen.

Fortunately there is a property called “fullScreenTakeOver” which will prevent FLVPlayback to take over the entire screen:

stage.scaleMode = StageScaleMode.NO_SCALE;
stage.displayState = StageDisplayState.FULL_SCREEN;

myFLVPlayback.fullScreenTakeOver = false;
myFLVPlayback.source = "video.flv";

But wait! Although the video won’t take over the screen, it will show all screen in black and cause some internal error in debug player when unload the video section movie clip…

After some Google-ing, I’ve found out that you need to set this property before FLVPlayback is rendered on the stage, here is how it will work:

stage.addEventListener(Event.ADDED, onAdded);

private function onAdded(e:Event):void {
	if (e.target is FLVPlayback) e.target.fullScreenTakeOver = false;
}