Looping


show more Looping provides you with in-depth training on Video. Taught by Chris Meyer and Trish Meyer as part of the After Effects Apprentice 09: Expressions show less
please wait ...

Looping

Another really handy expression is the ability to loop an animation. I want to clean up my display by selecting Close All from the Comp panel and open up 04-LoopOut*starter. Hopefully, the Rotation keyframes have already been exposed for this layer, and I'm going to turn off the background for now and just remove the distraction. Now what we have is a simple two-keyframe animation-- I'll press 0 to RAM Preview--of this watch piece rotating in one direction. Let's say you want that to repeat, rocking back and forth.

You could do a lot of copying and pasting of keyframes and playing around with the Graph Editor, but there is a better way. I'm going to hold down the Option key on Mac, Alt key on Windows, click on the animation stopwatch for rotation to enable expressions and type in the following expression, loopOut. A quirk of the JavaScript language is that the first word is not capitalized, but every word after that is capitalized. And then I'm going to type open parent...

Looping
Video duration: 7m 55s 1h 37m Intermediate Updated Nov 29, 2012

Viewers:

Looping provides you with in-depth training on Video. Taught by Chris Meyer and Trish Meyer as part of the After Effects Apprentice 09: Expressions

Subject:
Video
Software:
After Effects
Authors:
please wait ...