-
Counting number up per frame
Hi,
Is there any way to count number up per frame instead of per second?
in following code, if the countDur = 1 then it directly jump
from startCount to endCount over one second & i am not getting any count up effect. Any solution?if (time > 2 && time<18)
{
cl=thisComp.layer(“Speed Control”).effect(“txt control”)(“Slider”);
startCount = 0;
endCount = cl;
countDur = 1;
a = Math.round(linear(time,0,countDur,startCount,endCount));
random(a+1,a-1).toFixed(0);
}
else
value = 0;
Sorry, there were no replies found.