# Having problems unloading movie clips

**URL:** https://forum.kirupa.com/t/having-problems-unloading-movie-clips/181420
**Category:** flash
**Created:** [March 9, 2006, 2:28am UTC](https://forum.kirupa.com/t/having-problems-unloading-movie-clips/181420 "2006-03-09T02:28:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![broman](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@broman](https://forum.kirupa.com/u/broman)
#### Post date: [March 9, 2006, 2:28am UTC](https://forum.kirupa.com/t/having-problems-unloading-movie-clips/181420/1 "2006-03-09T02:28:03Z")

</div>

Hello,

I’m having trouble unloading movie clips. I’ve tried a bunch of different things based on the forums & searching online, but still can’t get it to work. Here’s my code:

```auto

stop();
this.createEmptyMovieClip("blank_mc", 16);
with (blank_mc) {
    _x = x;
    _y = y;
}

this.createEmptyMovieClip("description_mc", 18);

this.attachMovie("textToDisplay", "description_mc", this.getNextHighestDepth(), {_x:-100, _y:100});

loadMovie(imgurl, blank_mc);

goBack.onRelease = function() {
    removeMovieClip(this.blank_mc);
    removeMovieClip(this.description_mc);
    gotoAndPlay(27);
};

```

It won’t remove the two clips I loaded on entering this frame. Is it a hierarchy issue?

I have a row of thumbnails. When the user click a thumb, they view that image (blank\_mc) and a description alongside it (description\_mc). If they click the “back” button I want to image and description to go away and redisplay the thumbs -\> gotoAndPlay(27).

What happens is that the thumbnails show up, but the image and description are still there - they didn’t unload…

I’m so confused. Any ideas??

Thanks.
