# Removing an attachMovie()'d clip?

**URL:** <https://forum.kirupa.com/t/removing-an-attachmovie-d-clip/80418>\
**Category:** flash\
**Created:** [February 22, 2005, 1:48am UTC](https://forum.kirupa.com/t/removing-an-attachmovie-d-clip/80418 "2005-02-22T01:48:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaopenguin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/xiaopenguin/32/986_2.png) [@xiaopenguin](https://forum.kirupa.com/u/xiaopenguin)\
**Post date:** [February 22, 2005, 1:48am UTC](https://forum.kirupa.com/t/removing-an-attachmovie-d-clip/80418/1 "2005-02-22T01:48:59Z")

</div>

I’m working on a project where, when the user the clicks a button, a “window” shows up, by loading a clip from the libray, using \_root.attachMovie(“window\_mc”, “window\_mc”, 0). I’d like the user to be able to “close” the window, yet I’m not sure how to script a button inside the clip to close its parent clip, the “window.”
