# Actionscript Pop up movie clip?

**URL:** <https://forum.kirupa.com/t/actionscript-pop-up-movie-clip/287424>\
**Category:** flash\
**Created:** [April 30, 2009, 8:10pm UTC](https://forum.kirupa.com/t/actionscript-pop-up-movie-clip/287424 "2009-04-30T20:10:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrickvallone](https://avatars.discourse-cdn.com/v4/letter/p/f4b2a3/32.png) [@patrickvallone](https://forum.kirupa.com/u/patrickvallone)\
**Post date:** [April 30, 2009, 8:10pm UTC](https://forum.kirupa.com/t/actionscript-pop-up-movie-clip/287424/1 "2009-04-30T20:10:36Z")

</div>

I am using this script to open a movie clip as a pop up window.

on (press) {  
this.attachMovie(“mypopmc”, “window”, 0);  
window.\_x = 250;  
window.\_y = 150;  
}  
the script works fine.

my problem is i need a script that will open a second pop up window over the first one once they click on a certain button in the first pop up window.  
when the second pop up window opens up it will play a animation then close(on its own) leaving only the first pop up window.

I am also looking for a second script that when the user clicks on a certain button in the first pop up window, the first pop up window will close then a second pop up window will open play an animation then close on its own.

and when i say pop up window i mean a pop up movie clip.

thank you for any help.
