# \[FMX\] Newbie and Unload movie

**URL:** <https://forum.kirupa.com/t/fmx-newbie-and-unload-movie/23342>\
**Category:** Uncategorized\
**Created:** [June 16, 2003, 6:48pm UTC](https://forum.kirupa.com/t/fmx-newbie-and-unload-movie/23342 "2003-06-16T18:48:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![charliealpha](https://avatars.discourse-cdn.com/v4/letter/c/45deac/32.png) [@charliealpha](https://forum.kirupa.com/u/charliealpha)\
**Post date:** [June 16, 2003, 6:48pm UTC](https://forum.kirupa.com/t/fmx-newbie-and-unload-movie/23342/1 "2003-06-16T18:48:30Z")

</div>

Hi,

Pretty basic I should imagine but I’m stumped. I’ve searched the forums but cant seem to be able to implement anything specific to my problem.

Heres my site so far: [http://www.charliealpha.co.uk/sites/msp/test/main.swf](http://www.charliealpha.co.uk/sites/msp/test/main.swf)

How and where and what do I add to make the movies unload before only the movie corresponding to the button clicked loads up and doesn’t overlay?

I’m having trouble with the level and all that 🙂

heres my fla:

[http://www.charliealpha.co.uk/sites/msp/main.fla](http://www.charliealpha.co.uk/sites/msp/main.fla)

any help appreciated.

---

<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:** [June 16, 2003, 9:01pm UTC](https://forum.kirupa.com/t/fmx-newbie-and-unload-movie/23342/2 "2003-06-16T21:01:21Z")

</div>

Load your items to the same clip. When you load a new movie onto a clip that already has a movie on it, the previous movie gets automatically unloaded to make way for the new movie.

Either that or try [AS]targetClipInstanceName.unloadMovie()[/AS]

---

<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:** [June 16, 2003, 9:04pm UTC](https://forum.kirupa.com/t/fmx-newbie-and-unload-movie/23342/3 "2003-06-16T21:04:41Z")

</div>

Ok, maybe I shoulda checked your .fla first.

You are going about the method sorta wrong. It is best and more efficient to create each of your sections in an external .swf file and use loadMovie() to call them in.

This prevents the user having to load anything they won’t view which saves on load time, and it keeps your content seperated and easy to edit, and you would only need one clip in your main movie to load to and you won’t have this overlay issue 😉

---

<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:** [June 16, 2003, 11:16pm UTC](https://forum.kirupa.com/t/fmx-newbie-and-unload-movie/23342/4 "2003-06-16T23:16:55Z")

</div>

Great!

That worked it out. Thanks for your help 😃

---

<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:** [June 17, 2003, 12:26am UTC](https://forum.kirupa.com/t/fmx-newbie-and-unload-movie/23342/5 "2003-06-17T00:26:22Z")

</div>

no problem :thumb:
