# How do I clear a Level?

**URL:** https://forum.kirupa.com/t/how-do-i-clear-a-level/238765
**Category:** flash
**Created:** [September 14, 2007, 8:14pm UTC](https://forum.kirupa.com/t/how-do-i-clear-a-level/238765 "2007-09-14T20:14:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![BiGg\_RiE](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BiGg\_RiE](https://forum.kirupa.com/u/BiGg_RiE)
#### Post date: [September 14, 2007, 8:14pm UTC](https://forum.kirupa.com/t/how-do-i-clear-a-level/238765/1 "2007-09-14T20:14:38Z")

</div>

\*_ **Edit: I actually solved the first part of the following question in mid post** _

I have the portfolio page of a website loading into level 5 of my swf. When you click on a button flash loads another swf into level 25. Once the user is finished with what is loaded in level 25, they click a button and I’d like it to clear level 25 so that it no longer contains the swf.

How do i accomplish this with actionscript? I am using 2.0. this is what I have on the button whos purpose is to clear the level 25:

on (release) {  
\_level0.myMCL.loadClip(“blank.swf”, 25)  
}

I fixed this using the following:

\_level0.myMCL.unloadClip(25);

I also, have a custom cursor, and once the swf on level 25 is unloaded or replaced with a blank one. That cursor is inactive and the default cursor is hidden. I can still interact with the swf that is currently active but the custom cursor stays frozen. I have tested this with out the custom cursor but still no change.

How do I reactivate the custom cursor?

Edit: If i remove both cursors from the swf it functions as I want it to, but I want both swfs to have custom cursors can this be done?

Thanx
