So, i have some code to make my .swf go fullscreen but is there a way to just have a movieclip inside the swf center and go fullscreen?
var screenCheck:Boolean = false;
function fullScreenUP(event:MouseEvent):void {
if (screenCheck == false) {
stage.displayState = StageDisplayState.FULL_SCREEN;
screenCheck = true;
} else {
stage.displayState = StageDisplayState.NORMAL;
screenCheck = false;
}
}
// Listener for the full screen button
fullScreenBtn.addEventListener(MouseEvent.CLICK, fullScreenUP);