Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Surpassing the Numbers Effect Limits

  • Tony Silva

    January 19, 2010 at 10:04 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.

  • Mike Morris

    January 20, 2010 at 5:09 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

  • Lance Halladay

    January 20, 2010 at 5:11 am

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

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy