# attachMovie

**URL:** <https://forum.kirupa.com/t/attachmovie/240597>\
**Category:** Uncategorized\
**Created:** [October 4, 2007, 10:55am UTC](https://forum.kirupa.com/t/attachmovie/240597 "2007-10-04T10:55:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![igorlaszlo](https://avatars.discourse-cdn.com/v4/letter/i/8e8cbc/32.png) [@igorlaszlo](https://forum.kirupa.com/u/igorlaszlo)\
**Post date:** [October 4, 2007, 10:55am UTC](https://forum.kirupa.com/t/attachmovie/240597/1 "2007-10-04T10:55:36Z")

</div>

Hi,  
I use a button to open a popup window :

on (press) {  
this.attachMovie(“menu1”,“window1”,2);  
window1.\_x = -285.9;  
window1.\_y = -175;  
}

Then, i would like to close this popup window (window1) by clicking to another button. I choose the way to unload the level but when I choose the object, it give the same result :

on( Release ){  
unloadMovieNum(2);  
}

…but it does not work, the popup window come back each time I click on other buttons.

Do someone has any idea how to make disappeared the popup window ? :ear:

(Flash 8; AS1; Flash Player8 or +)
