Preloader doesn't appear until 50% done

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);