Ive searched, and came up empty handed.
I found why a preloader will come in late. But mine finishes too early.
It loads about half of what its suppose to, then the content loads like normal. (it should loads all 367k of the info, but it only goes to around 170, then the content loads)
What could be wrong?
This preloader is from an older version of flash, and it worked fine in flash 8, but i tweaked some of the visual elements of it, and now it prematurely preloads.
thanks for your help!
Code:
onClipEvent (enterFrame) {
loaded = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
progress = Math.round((loaded/total)*100);
loaderInfo = Math.round(loaded/1000) + " k loaded / " + Math.round(total/1000) + " k total";
progressBar._width = progress * 2;
if (loaded == total) {
_parent.nextFrame();
}
}