Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Counter Expression help

  • Sam Moulton

    May 12, 2007 at 6:47 pm

    add an expression control slider to your text layer set a keyframe at 0 with a value of 1600, set a value at 1.5 seconds of 2007 then add the following expression to the slider

    loopOut(“cycle”)

    then use the pick whip to link to the slider and add value.toFixed(0) to the end so it looks like this:

    effect(“Slider Control”)(“Slider”).value.toFixed(0);

    I think this is easier than building in a loop to the time value.

  • Mike Clasby

    May 12, 2007 at 6:54 pm

    OK, this seems to work, on the Source text, it gives you 1 year from 1600 every 1.5 sec:

    countUp = 1600 + Math.floor(time/1.5);

    [countUp]

  • Cptryg

    May 12, 2007 at 7:21 pm

    Thanks, YikesMike. That’s exactly what I needed!

  • Sam Moulton

    May 12, 2007 at 7:23 pm

    that probably makes more sense. when I first read the request I thought he wanted to loop between 1600 and 2007 every 1.5 seconds. I must need a nap.

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