# unloadClip not working?

**URL:** <https://forum.kirupa.com/t/unloadclip-not-working/159719>\
**Category:** flash\
**Created:** [August 19, 2005, 3:23pm UTC](https://forum.kirupa.com/t/unloadclip-not-working/159719 "2005-08-19T15:23:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdesign21](https://avatars.discourse-cdn.com/v4/letter/k/9dc877/32.png) [@kdesign21](https://forum.kirupa.com/u/kdesign21)\
**Post date:** [August 19, 2005, 3:23pm UTC](https://forum.kirupa.com/t/unloadclip-not-working/159719/1 "2005-08-19T15:23:00Z")

</div>

I have this on first frame on main movie:

stop();  
//----------------\<MCL\>-----------------------------\

var myMCL:MovieClipLoader = new MovieClipLoader();  
var myListener:Object = new Object();

myMCL.addListener(myListener);

//-----------------\<MCL\>---------------------\

// loads trigger and shared library SWFS  
myMCL.loadClip(“trigger.swf”,1);

//--------davebutton---------\  
this.bios\_mc.davebio\_mc.onPress = function() {  
myMCL.loadClip(“davebio.swf”,1)  
}  
this.bios\_mc.davebio\_mc.onRelease = function() {  
myMCL.unloadClip(“davebioscroll.swf”);  
myMCL.unloadClip(“davecontact.swf”);  
}

//--------todbutton---------\  
this.bios\_mc.todbio\_mc.onRelease = function() {  
myMCL.unloadClip(“davebioscroll.swf”);  
myMCL.unloadClip(“davecontact.swf”);  
}

the davebio\_mc ( button ) or todbio\_mc (button) don’t unload any of the swfs.  
Is my AS wrong?

THANK YOU!!!

I have this AS on davebio\_mc ( button ) or todbio\_mc (button) ( so they will stay on when clicked) : Does this have something to do with it?

on(rollOver){  
gotoAndStop(“over”);  
}  
on(rollOut){  
gotoAndStop(“out”);  
}  
//makes other buttons reset.  
on(press){  
gotoAndStop(“over”);  
\_root.bios\_mc.davebio\_mc.enabled = false;  
\_root.bios\_mc.todbio\_mc.enabled = true;  
\_root.bios\_mc.todbio\_mc.gotoAndStop(“out”);  
\_root.listings\_mc.featured\_mc.enabled = true;  
\_root.listings\_mc.featured\_mc.gotoAndStop(“out”);  
}
