# Flash as2 Help: Lock stage while movieClip has focus

**URL:** <https://forum.kirupa.com/t/flash-as2-help-lock-stage-while-movieclip-has-focus/330348>\
**Category:** flash\
**Created:** [January 7, 2013, 3:36am UTC](https://forum.kirupa.com/t/flash-as2-help-lock-stage-while-movieclip-has-focus/330348 "2013-01-07T03:36:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Scholz](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Post date:** [January 7, 2013, 3:36am UTC](https://forum.kirupa.com/t/flash-as2-help-lock-stage-while-movieclip-has-focus/330348/1 "2013-01-07T03:36:12Z")

</div>

Here is my code for my instructions button:

on (release) {  
this.attachMovie(“howToPlay”, “howToPlay”, 10);  
howToPlay.\_x = 275;  
howToPlay.\_y = 175;  
howToPlay.\_alpha = 75;  
}

My question is this, when this movieClip is called, you can still select the buttons behind the movieClip. What I am trying to do, is give the movieClip the focus so the player cannot interact with the mainstage.

NOTE: I have a “close” box on the movieClip being called to stage. So when the player chooses “close”, they will go back to the main stage and the movieClip is unloaded.
