ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How do I stop an animation preset after a certain number of times?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Rosaleen Donnan
How do I stop an animation preset after a certain number of times?
on Aug 3, 2011 at 7:51:53 pm

Hello there

Firstly, huge apologies because I am extremely new to AE and teaching myself!

I am using CS3 and have added the AE text animation preset Broadway to some text but I would like it to stop animating after it has rippled through the text a few times, say 10 times.

I don't understand the coding in the expression to be able to control it there.

f=effect(1)(1);
div = Math.abs(Math.sin(2 * textIndex/textTotal - time*f)*100);
result = 0;

if (div) {
result = 300/div - 3;
}

I split the layer at the point where I would like the preset to stop animating but I am not sure how to subsequently then take the preset out of the split layer because if I remove parts of it I break the look of the original text!

Any wisdom and insight would be gratefully received! Many thanks!


Return to posts index

Michael Szalapski
Re: How do I stop an animation preset after a certain number of times?
on Aug 3, 2011 at 9:00:49 pm

My AE machine is busy at the moment or I'd test this, but I wonder if one way to do it would be to keyframe a slider (Effect>Expression Controls>Slider) from 100 to 0 and replace the 100 part of the expression with the value of the slider.

I'm not sure though as expressions aren't my thing.

Since you're new to AE, I'd suggest a few resources to you to help you learn. To start you off go here: [link] It'll build a great foundation in the basics.
This product goes a lot more in-depth and is totally worth it: http://www.peachpit.com/store/product.aspx?isbn=0321734866

- The Great Szalam
(The 'Great' stands for 'Not So Great, in fact, Extremely Humble')

No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.


Return to posts index

Rosaleen Donnan
Re: How do I stop an animation preset after a certain number of times?
on Aug 4, 2011 at 8:32:51 pm

Thanks for your suggestion and for your tips on getting started with AE.

In the end, I split the layer at the point in the time line where i didn't need the animation any more and then selected 'remove all text animators' from the menu on the new split layer ... seems to work!

I love your AE reel by the way :-)


Return to posts index

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