Hi everyone
Is there an easy way to make my simple preloader count down?
I followed this expert tutorial (ok Kirupa.com);
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent280.9;//width of my bar
this.loadText = Math.round(getPercent10);//counts up to 10
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
Any advice is more than welcome.
Cheers
Chief