# Load/unload external files

**URL:** https://forum.kirupa.com/t/load-unload-external-files/303901
**Category:** Uncategorized
**Created:** [January 28, 2010, 8:22pm UTC](https://forum.kirupa.com/t/load-unload-external-files/303901 "2010-01-28T20:22:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cinderela](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cinderela](https://forum.kirupa.com/u/cinderela)
#### Post date: [January 28, 2010, 8:22pm UTC](https://forum.kirupa.com/t/load-unload-external-files/303901/1 "2010-01-28T20:22:24Z")

</div>

this is probably a seen issue, but i really cannot grasp what to do… by reading the other posts…  
maybe someone can make my life happier today…

here is my problemo…

i have a main movie, in every 10 frames, i have an external movie being loaded. My issue is that the previous movie wont leave the screen…

here is the code i have to load the swf file in the specific frame number:

```auto
 
var imageRequest:URLRequest = new URLRequest("home.swf");
var imageLoader:Loader = new Loader();
imageLoader.load(imageRequest);
addChild(imageLoader);
imageLoader.x = 0;
imageLoader.y = 140;

```

how do i unload this particular movie clip when another is to take its place?

sooo appreciate any help.

thanks!  
ps. dont forget im a newbie…
