I know how to make a preloader count up from 0000 to 2006 using the timeline, but would like to know if there’s an easier way using actionscript.
Not terribly thrilled at the thought of population 2006 frames :puzzle:
thanks!
I know how to make a preloader count up from 0000 to 2006 using the timeline, but would like to know if there’s an easier way using actionscript.
Not terribly thrilled at the thought of population 2006 frames :puzzle:
thanks!
var nTotal:Number = this.getBytesTotal();
var nLoaded:Number = this.getBytesLoaded();
var nYearCount:Number = Math.round(nLoaded/nTotal*2006);
simple math
thanks for the quick reply v2!
i’m an unabashed math simpleton
apparently still an as simpleton as well - where in a preload script would i add that?
thanks!
gimme your code… I really don’t know what kind of code are you using to display your preloader and.so.on
:: Copyright KIRUPA 2024 //--