# Preloader doesn't appear until 50% done

**URL:** <https://forum.kirupa.com/t/preloader-doesnt-appear-until-50-done/79240>\
**Category:** Uncategorized\
**Created:** [February 11, 2005, 11:54pm UTC](https://forum.kirupa.com/t/preloader-doesnt-appear-until-50-done/79240 "2005-02-11T23:54:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![woodman650](https://avatars.discourse-cdn.com/v4/letter/w/b9bd4f/32.png) [@woodman650](https://forum.kirupa.com/u/woodman650)\
**Post date:** [February 11, 2005, 11:54pm UTC](https://forum.kirupa.com/t/preloader-doesnt-appear-until-50-done/79240/1 "2005-02-11T23:54:49Z")

</div>

I’ve tried taking out my loadmovie actions, all of my components… all that is left are a whole bunch of image sequences and jpegs. Has anyone run into this problem/know how to fix this?

## thanks!

code for preloader:  
frame1-

totalBytes = this.getBytesTotal();  
loadedBytes = this.getBytesLoaded();  
remainingBytes = totalBytes - loadedBytes  
percentDone = int((loadedBytes/totalBytes)\*100);  
bar.gotoAndStop(percentDone);  
if (\_framesloaded == \_totalframes) {  
gotoAndPlay(3);  
}

frame2-

gotoAndPlay(1);
