AS2.0 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:
you writing is wonderful.
Enamel has been used to embellish Piaget watch jewellery and other gold adornments since ancient times. Watchmakers adopted enamel from the 15th century onwards. From then on, craftsmen perpetually fine-tuned their techniques to the point of developing four energy balance distinct methods: champleve, cloisonne, flinque and miniature enamelling.
Post a Comment