ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Just a simple counting up..

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
marlie heuvel
Just a simple counting up..
on Feb 24, 2017 at 9:52:46 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"))


Return to posts index

Kevin Camp
Re: Just a simple counting up..
on Feb 24, 2017 at 5:06:34 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


Return to posts index

rob mcgowan
Re: Just a simple counting up..
on Feb 25, 2017 at 12:35:49 am

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

Math.round(effect("Slider Control")("Slider"))


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]