# Preloader stops at 80%

**URL:** https://forum.kirupa.com/t/preloader-stops-at-80/192259
**Category:** flash
**Created:** [June 27, 2006, 10:05am UTC](https://forum.kirupa.com/t/preloader-stops-at-80/192259 "2006-06-27T10:05:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gorotron](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gorotron](https://forum.kirupa.com/u/gorotron)
#### Post date: [June 27, 2006, 10:05am UTC](https://forum.kirupa.com/t/preloader-stops-at-80/192259/1 "2006-06-27T10:05:18Z")

</div>

The preloaders on my site all seem to stop at around 80% or so before the images load. I’m not sure what I’m doing wrong, but after an hour searching through this forum, I can’t seem to find any answers. I though that maybe the registration might have been off, but have doublechecked that. Starting to lose my mind. Any ideas?

The site is up at [http://www.gorotron.com/jette/blaisejette5.html](http://www.gorotron.com/jette/blaisejette5.html)

Here’s the script I used:

MovieClip.prototype.fadeIn = function() {  
this.onEnterFrame = function() {  
if (this.\_alpha\<100) {  
this.\_alpha += 10;  
} else {  
delete this.onEnterFrame;  
}  
};  
};  
bar.\_visible = false;  
border.\_visible = false;  
var empty = this.createEmptyMovieClip(“container”, “100”);  
empty.\_x = 362;  
empty.\_y = 18;  
my\_mc = new MovieClipLoader();  
preload = new Object();  
my\_mc.addListener(preload);  
preload.onLoadStart = function(targetMC) {  
trace(“started loading “+targetMC);  
container.\_alpha = 0;  
bar.\_visible = true;  
border.\_visible = true;  
};  
preload.onLoadProgress = function(targetMC, lBytes, tBytes) {  
bar.\_xscale = (lBytes/tBytes)\*100;  
};  
preload.onLoadComplete = function(targetMC) {  
container.fadeIn();  
border.\_visible = false;  
bar.\_visible = false;  
trace(targetMC+” done!”);

}

my\_mc.loadClip(“ill\_trout.jpg”, “\_root.container”);
