# Preloader doesnt unload! thanks!

**URL:** <https://forum.kirupa.com/t/preloader-doesnt-unload-thanks/230777>\
**Category:** Uncategorized\
**Created:** [June 28, 2007, 9:05pm UTC](https://forum.kirupa.com/t/preloader-doesnt-unload-thanks/230777 "2007-06-28T21:05:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkorda](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rkorda](https://forum.kirupa.com/u/rkorda)\
**Post date:** [June 28, 2007, 9:05pm UTC](https://forum.kirupa.com/t/preloader-doesnt-unload-thanks/230777/1 "2007-06-28T21:05:34Z")

</div>

i load a form that needs a preloader. the first time the form is loaded the preloader dissapears, however, online, when i load the form for the second time, the loader stays there.

the code:

this.form1\_btn.onRelease=function(){  
var formLoad:MovieClipLoader =new MovieClipLoader  
var myFormListener:Object = new Object  
formLoad.addListener(myFormListener)

myFormListener.onLoadProgress = function(target\_mc, loadedBytes, totalBytes) {

var preloadPercent:Number = Math.round ((loadedBytes / totalBytes) \* 100);  
\_level10.preloader\_mc.gotoAndStop (preloadPercent);  
\_level10.preloader\_mc.display\_txt.text = preloadPercent;  
}  
formLoad.loadClip(“preloader.swf”, 10);  
myFormListener.onLoadComplete = function (target\_mc) {  
\_level10.\_visible = false;

}  
formLoad.loadClip(“mamiAutoForm.swf”,formLoader)  
}

what can i do?
