Preloader
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int(loaded/total*100);
tmr = getTimer();t2 = int(tmr/1000);
rem = t2 * 100;
rem2 = int(rem / percent);
rem4 = rem2 - t2;
rem3 = "estimated completion in " + rem4 + " seconds";
pltext = percent+"%";
t3 = "time elapsed: " + t2;gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
}
}
2 comments:
Hey Fitz im not gunna be in class today. I have some personal to attend to. Can you record the lecture? Thanks.
-O'C
hey fitzer when will we have our domain names up and running? also on my preloader everything is correct on it but when i test it out it just speeds through it, it is at the 100 frames and everything and i have the 2nd layer check it out for me
-DeLuca
Post a Comment