# Strange preLoader Problem

**URL:** <https://forum.kirupa.com/t/strange-preloader-problem/164745>\
**Category:** Uncategorized\
**Created:** [October 4, 2005, 2:24pm UTC](https://forum.kirupa.com/t/strange-preloader-problem/164745 "2005-10-04T14:24:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![youngloopy](https://avatars.discourse-cdn.com/v4/letter/y/f07891/32.png) [@youngloopy](https://forum.kirupa.com/u/youngloopy)\
**Post date:** [October 4, 2005, 2:24pm UTC](https://forum.kirupa.com/t/strange-preloader-problem/164745/1 "2005-10-04T14:24:58Z")

</div>

I can’t seem to wrap my head around this preLoader thing. I have an intro with a preLoader that works fine, after you click the enter button it goes to a new url which is the main navigation page with the EXACT preLoader on it but it just sits there with a full bar and no % numbers moving, how is that possible? Here is my code on frame 1 and 2, remember they are EXACTLY the same on both fla’s. If you want my fla’s go to [http://www.nucklewebdesign.com/dloads/](http://www.nucklewebdesign.com/dloads/)  
if you want to see the preLoader working and not working go to  
[http://www.nucklewebdesign.com/moving/](http://www.nucklewebdesign.com/moving/)  
if you don’t have Flash Player 8 the enter button is beside the spinning key.

frame 1:  
var amountLoaded:Number = \_root.getBytesLoaded()/\_root.getBytesTotal();  
bar\_mc.\_width = amountLoaded \* 200;  
loadText.text = Math.round(amountLoaded \* 100);

frame 2:  
if(\_root.getBytesLoaded() == \_root.getBytesTotal()) {  
gotoAndPlay(3);  
}

else {  
gotoAndPlay(1);  
}
