Hello,
I have a rather large flash piece (17MB) that has a preloader that doesn’t appear immediately. The screen remains black and then after a pause, the preloader pops up with 20% already loaded. I’m unsure if the file is so large that it takes that long for it to run calculations, or if something is different with flash 8, or what is hanging things up. On the preload scene I have one .gif that is 6.5kb when compressed, a simple vector button, and a vector based graphic for a cursor change that has the appropriate script attached. I would like to either correct the problem or create a preloader for the preloader. Here’s the script I’m using:
myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded/myTotal;
myBar._width = myPercent150;
myText = Math.round(myPercent100)+"%";
if (myLoaded == myTotal) {
gotoAndPlay(3);
} else {
gotoAndPlay(1);
}
Any help would be appreciated. Thanks,
Llyfre