Hi.
Greatly appreciate the time spent on making this expression, helped me allot.
But i would like to start the counter animation with a keyframe instead of the start being the in.point of the text layer. It would be such a time saver; now i have to make a second and a third text layer just to have them freezed (with the correct number) before the count starts/ends.
Does it make sense?
My other question is how to include different signs (€, $, +, etc.) infront of the counter instead of in the end like I have it now. I tried being a little creative with the expression and somehow got (almost at least) what I wanted; decimals between every thousend (what I wanted) and “signs” in the end (not what I wanted) of the counter. I accomplished getting the signs infront of the counter on “thousends” though, but the “hundreds” will not show the “signs” infront of them.
startValue = 650;
endValue = 1750;
beginTime = 26.15; // start counting at time = 28.05
dur = 9.5; //seconds
s = “” + Math.round(linear(time,inPoint,inPoint+dur,startValue,endValue));
if (s.length > 6)
s.substr(0,s.length-6) + “.” + s.substr(-6,3) + “.” + s.substr(-3,3)
else if (s.length > 3)
s.substr(0,s.length-3) + “.” + s.substr(-3,3) + ” €”
else
s + ” €”
Thanks In advance!
Kim Krohn Berle