# Clearing a level

**URL:** https://forum.kirupa.com/t/clearing-a-level/63150
**Category:** Uncategorized
**Created:** [September 3, 2004, 9:17am UTC](https://forum.kirupa.com/t/clearing-a-level/63150 "2004-09-03T09:17:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![moai](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@moai](https://forum.kirupa.com/u/moai)
#### Post date: [September 3, 2004, 9:17am UTC](https://forum.kirupa.com/t/clearing-a-level/63150/1 "2004-09-03T09:17:00Z")

</div>

Is there a way to clear a loaded swf from a level without loading something in its place?  
I just want to be able to clear out levels that aren’t in use anymore.

---

<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: [September 3, 2004, 9:50am UTC](https://forum.kirupa.com/t/clearing-a-level/63150/2 "2004-09-03T09:50:47Z")

</div>

you can use  
unloadMovieNum(level)  
this will unload the loaded swf from the level specified

---

<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: [September 3, 2004, 10:02am UTC](https://forum.kirupa.com/t/clearing-a-level/63150/3 "2004-09-03T10:02:32Z")

</div>

that’s ok to use in MX2004??

Im now using loadClip.

---

<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: [September 3, 2004, 10:16am UTC](https://forum.kirupa.com/t/clearing-a-level/63150/4 "2004-09-03T10:16:10Z")

</div>

then you can use  
yourmovieclipname.unloadClip(target)

---

<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: [September 4, 2004, 6:37am UTC](https://forum.kirupa.com/t/clearing-a-level/63150/5 "2004-09-04T06:37:22Z")

</div>

ok… i obviously have some sort of syntax problem.

here’s the loadClip on the root.

```php

 jayMCL.loadClip("nav.swf",1);
 

```

here’s what im trying to do from another swf on level 5

```php

 _level0.jayMCL.unloadClip("bio.swf", 6);
 

```

here is what jayMCL is::

```php

 var jayMCL:MovieClipLoader = new MovieClipLoader();
 var jayListen:Object = new Object();
 
 jayMCL.addListener(jayListen);
 

```

so to unload do i still have to access the clipLoader?

Im still a little wishy washy on the new MX loadClip
