# Stupid movie clips not disappering

**URL:** <https://forum.kirupa.com/t/stupid-movie-clips-not-disappering/244642>\
**Category:** flash\
**Created:** [November 20, 2007, 3:11pm UTC](https://forum.kirupa.com/t/stupid-movie-clips-not-disappering/244642 "2007-11-20T15:11:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![syssan](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@syssan](https://forum.kirupa.com/u/syssan)\
**Post date:** [November 20, 2007, 3:11pm UTC](https://forum.kirupa.com/t/stupid-movie-clips-not-disappering/244642/1 "2007-11-20T15:11:18Z")

</div>

Hi, I have a problem with movie clips not disappearing.

In a single frame (frame 5) I have this code:

switch(blah) {  
case 1: create empty movie clip, load movie clip  
case 2: load another movie clip  
}

then I have a button, gotoAndStop(10), in another layer.  
But when i click the button and jumps to frame 10, the movie clip loaded in frame 5 is still there, although the code for loading the movie clips are in a single frame in a separate layer. Maybe I have to close the contaioner in some way?

Thanks,  
syssan
