Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Just a simple counting up..

  • Just a simple counting up..

    Posted by Marlie Heuvel on February 24, 2017 at 9:52 am

    Hi there creative people,

    I have some troubles with a simple counting up expression.
    I have a ‘ 0 ‘ as text layer and I want it to count it up to 21. I do what I always do. Put a slider on it and parent the source text with the slider.
    So far so good. But when I want to change the expression from the source text (because otherwise the numbers will go nuts) it give me an error.
    This is the expression I put on the source text: math.round(effect(“slider Control”)(“Slider”))

    I have the feeling there is a really simple solution for this, but I just cant find it. Someone can help me out here? ^^

    Greets.
    (working in AE CC 2015)

    math.round(effect("slider Control")("Slider"))

    Rob Mcgowan replied 9 years, 2 months ago 3 Members · 2 Replies
  • 2 Replies
  • Kevin Camp

    February 24, 2017 at 5:06 pm

    i think you just need a capital ‘M’ so it reads like this: Math.round(effect(“slider Control”)(“Slider”))

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Rob Mcgowan

    February 25, 2017 at 12:35 am

    I think you also need a capital S unless you changed the default name

    Math.round(effect(“Slider Control”)(“Slider”))

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