# Clearing and loading 2 movie clips one after the other

**URL:** <https://forum.kirupa.com/t/clearing-and-loading-2-movie-clips-one-after-the-other/34801>\
**Category:** flash\
**Created:** [November 6, 2003, 3:51pm UTC](https://forum.kirupa.com/t/clearing-and-loading-2-movie-clips-one-after-the-other/34801 "2003-11-06T15:51:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kay](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@Kay](https://forum.kirupa.com/u/Kay)\
**Post date:** [November 6, 2003, 3:51pm UTC](https://forum.kirupa.com/t/clearing-and-loading-2-movie-clips-one-after-the-other/34801/1 "2003-11-06T15:51:01Z")

</div>

would anyone know how to clear an externaly loaded movie clip from a empty movie clip?, then load a diffrent external movie clip and then load another different external movie clip by clicking on a movie clip acting as a button?

---

<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:** [November 6, 2003, 4:28pm UTC](https://forum.kirupa.com/t/clearing-and-loading-2-movie-clips-one-after-the-other/34801/2 "2003-11-06T16:28:45Z")

</div>

How are you loading an external movieClip??  
If it’s an external swf file, then it should unload automatically.  
If not, use this:

```auto

_root.movieClip.unloadMovie();

```

As for the movieClip acting as a button, just add this to actions:

```auto

on(release){
_root.movieClip.loadMovie("whatever.swf");
}

```

Is that what you mean??

---

<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:** [November 6, 2003, 4:59pm UTC](https://forum.kirupa.com/t/clearing-and-loading-2-movie-clips-one-after-the-other/34801/3 "2003-11-06T16:59:11Z")

</div>

that unload line helped and thanks for replying i figured it out:)

---

<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:** [November 6, 2003, 5:48pm UTC](https://forum.kirupa.com/t/clearing-and-loading-2-movie-clips-one-after-the-other/34801/4 "2003-11-06T17:48:23Z")

</div>

cool…🙂
