# preLoader PROBLEM!

**URL:** <https://forum.kirupa.com/t/preloader-problem/165648>\
**Category:** Uncategorized\
**Created:** [October 12, 2005, 8:18pm UTC](https://forum.kirupa.com/t/preloader-problem/165648 "2005-10-12T20:18:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gllanci](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@gllanci](https://forum.kirupa.com/u/gllanci)\
**Post date:** [October 12, 2005, 8:18pm UTC](https://forum.kirupa.com/t/preloader-problem/165648/1 "2005-10-12T20:18:34Z")

</div>

Hi,

I just want to know why this did not spot after it LOADES.

In my time line I have 10 frames, and I want to stop in frame 5.

After it loads it gos to frame 10 and Stops Why??

this is a CODE!

loadedbytes=getBytesLoaded();  
totalbytes=getBytesTotal();  
loadedkbytes=Math.ceil (loadedbytes/1000);  
totalkbytes=Math.ceil(totalbytes/1000);  
if (loadedbytes == totalbytes) {  
gotoAndStop(5);  
}  
frame = int(loadedbytes/(totalbytes/100));  
tellTarget (this.loader) {  
gotoAndStop (this.frame);  
}

Thnx in your advance!  
Gllanci
