# unloadMovie()

**URL:** <https://forum.kirupa.com/t/unloadmovie/22023>\
**Category:** flash\
**Created:** [May 29, 2003, 10:19am UTC](https://forum.kirupa.com/t/unloadmovie/22023 "2003-05-29T10:19:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xzyfer](https://avatars.discourse-cdn.com/v4/letter/x/ce73a5/32.png) [@xzyfer](https://forum.kirupa.com/u/xzyfer)\
**Post date:** [May 29, 2003, 10:19am UTC](https://forum.kirupa.com/t/unloadmovie/22023/1 "2003-05-29T10:19:34Z")

</div>

i have a button that loads 3 buttons into a movie clip “abc”…  
and that load which ever of teh three options selected into “abc1” movieclip…  
but its possible that you may selected a different option from teh first menu and then the menu would kload into “def”…  
so i was wondering how to i user unloadMovie to clear a target MC no matter wats loaded into it instead of physically unloading each possible movie from each possible MC each time a differnt one is clicked…  
i tried  
\_root.abc.unloadMovie(“abc”);  
but that just unloads the rootmovie…  
and i tried…  
abc.unloadMovie(“abc”);  
that just dose nuthing…  
so is this possible?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 30, 2003, 2:29am UTC](https://forum.kirupa.com/t/unloadmovie/22023/2 "2003-05-30T02:29:59Z")

</div>

Hi xzypher, your post is hard to understand im not sure whether its the typos or your english. If I understand correctly I believe you are not using the unload movie function correctly. IF abc is the target clip ie the clip where you load stuff into to just use

```auto

abc.unloadMovie()

```

And this will unload all clips within the abc clip which have been loaded previously via the loadMovie() function.
