-
video count down question
hey guys i have a countdown script and it works perfect. i am wanting to modify it and don’t know how. here is the script:
//countdown clock in miliseconds
ClockStart = 20; //Start time in minutes
start = ClockStart*60; //start time in seconds
compTime = start – time;
eTime = Math.floor(compTime);
csec = Math.floor((compTime – eTime)*100);
ms1 = Math.floor(csec/10);
ms2 = csec%10;
hr = Math.floor(eTime/3600);
h1 = Math.floor(hr/10);
h2 = hr%10;
min = Math.floor((eTime – hr*3600)/60);
m1 = min;
m2 = min%10;
sec = eTime – hr*3600 – min*60;
s1 = Math.floor(sec/10);
s2 = sec%10;
m1 + ‘:’ + s1 + s2 + ‘.’ + ms1 + ms2what i am trying to do is count up from 1-5000 over a period of 20minutes. any ideas
Plans fail for lack of counsel, but with many advisers they succeed.