attachMovie

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