# Movieclip fullscreen question

**URL:** <https://forum.kirupa.com/t/movieclip-fullscreen-question/307176>\
**Category:** Uncategorized\
**Created:** [March 30, 2010, 5:29am UTC](https://forum.kirupa.com/t/movieclip-fullscreen-question/307176 "2010-03-30T05:29:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelafoley](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@michaelafoley](https://forum.kirupa.com/u/michaelafoley)\
**Post date:** [March 30, 2010, 5:29am UTC](https://forum.kirupa.com/t/movieclip-fullscreen-question/307176/1 "2010-03-30T05:29:41Z")

</div>

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);
