Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 152999

Re: Number Counting Expression with $ - Understanding how to set stop points

$
0
0

I think I would just keyframe a slider with the values and times where you want to stop, and use a simpler source text expression like this to do the formatting:

 

s = Math.round(effect("Slider Control")("Slider")).toString();

outStr = s.substr(-s.length, (s.length-1)%3 +1);

for (i = Math.floor((s.length-1)/3); i > 0; i--){

  outStr += "," + s.substr(-i*3,3);

}

outStr + "±";

 

 

Dan


Viewing all articles
Browse latest Browse all 152999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>