ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

# Surpassing the Numbers Effect Limits

FAQ   •   VIEW ALL
 Surpassing the Numbers Effect Limits on Jan 19, 2010 at 6:50:34 pm

I'm trying to make numbers go up from 0 to 50,000,000,000 (with commas) very fast. The numbers effect only goes up to 30000. I found a tutorial (http://www.colinbraley.com/text_expressions_tutorial.html) that let me do almost exactly what I wanted, except it limited me to 1,000,000. Is there a way to go all the way up to 50,000,000,000? Thanks!

 Return to posts index

 Re: Surpassing the Numbers Effect Limitson Jan 19, 2010 at 7:41:04 pm

I don't know expressions very well AT ALL, but it sure seems to me that you could modify the one you're using to do just what you want. After all, the expression takes numbers past the effects limit already, so why not a little further?

It's just that I'm not going to take two hours studying the tutorial right now to figure out what's going on with it.

Dave LaRonde
Sr. Promotion Producer
KCRG-TV (ABC) Cedar Rapids, IA

 Return to posts index

 Re: Surpassing the Numbers Effect Limitson Jan 19, 2010 at 10:04:07 pm

just split it into 4 comps, one comp for every 3 digits + the last 2. Then composite it all together. It's just gonna be a big blurry mess anyway so the numbers shouldn't have to match up.

 Return to posts index

 Re: Surpassing the Numbers Effect Limitson Jan 20, 2010 at 5:09:04 am

or this.

Didn't write it. Please consider this credit to whomever posted it here on CC forums. It saved my butt and can save yours too:

//begin code

startTime =5.25; //seconds
endTime = 6.5; //seconds
beginCount = 0.00;
endCount = 68493;
hasCommas = true;
//--dont modify below here----------------
function addCommas ( s ){
if( s.length <= 3 )
return s;
else
return s.substring(0 , 3) + "," + addCommas(s.substring(3, s.length));

}
function reverse( s ){
newStr = "";
for(i = s.length-1; i >= 0; i--)
newStr += s.charAt(i)
return newStr;
}

val = Math.round (linear(time, startTime, endTime, beginCount, endCount) );
if( hasCommas )
reverse (addCommas(reverse( val + "" )))
else
val

//end code

Sib Ntsib Dua

Xeeb

 Return to posts index

 Re: Surpassing the Numbers Effect Limitson Jan 20, 2010 at 5:11:51 am

Oh, Mike, thank you so much! You really have saved me. This works perfect for what I was looking to do.

 Return to posts index

© 2018 CreativeCOW.net All Rights Reserved
[TOP]