# Flash MX2004 - unloadClip doesn't work

**URL:** <https://forum.kirupa.com/t/flash-mx2004-unloadclip-doesnt-work/199966>\
**Category:** Uncategorized\
**Created:** [September 7, 2006, 4:23pm UTC](https://forum.kirupa.com/t/flash-mx2004-unloadclip-doesnt-work/199966 "2006-09-07T16:23:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dokratos](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dokratos](https://forum.kirupa.com/u/Dokratos)\
**Post date:** [September 7, 2006, 4:23pm UTC](https://forum.kirupa.com/t/flash-mx2004-unloadclip-doesnt-work/199966/1 "2006-09-07T16:23:23Z")

</div>

I can’t seem to get th CV.swf to unload when I press the back button. The Home.swf loads ok. Anyone got any ideia why? And how may I solve this issue?

Here the code:(it’s on a frame on the time line of the CV.swf file, the Home.swf file is the starting point and has a similar code but no unload is needed).

[COLOR=Blue]BACK\_BT.onRelease = function(){  
var container:MovieClip = createEmptyMovieClip(“Contents”, getNextHighestDepth());  
var mcLoader:MovieClipLoader = new MovieClipLoader();  
mcLoader.unloadClip(“CV.swf”, Contents);  
mcLoader.loadClip(“Home.swf”, Contents);

function onLoadInit(mc:MovieClip) {  
trace("onLoadInit: " + mc);}  
}

[COLOR=Black]Thanks in advanced for any help! :hugegrin:[/COLOR]  
[/COLOR]
