Start learning with our library of video tutorials taught by experts. Get started

After Effects Apprentice 09: Expressions
Illustration by John Hersey

Managing expressions


From:

After Effects Apprentice 09: Expressions

with Chris Meyer and Trish Meyer

Video: Managing expressions

Now, before we go further, let's show a few ways of managing expressions. This little equal sign is very important. It shows that an expression is active. If I click on the equal sign, it becomes not equal, and that expression is now temporarily disabled for that layer. I will RAM preview, you will see I still have my scale animation; I just no longer have the rotation animation. But if I want it back, I will click on this again and turn that back on, and now that expression is in force again.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
After Effects Apprentice 09: Expressions
1h 37m Intermediate Jul 27, 2011 Updated Nov 29, 2012

Viewers: in countries Watching now:

Expressions are one of the most powerful but underused features in After Effects. They can be used to animate layer properties with code, as compared to explicitly keyframing every value in the Timeline, and have multiple parameters and layers that follow the lead of a master layer or controller effect, making it much easier to coordinate complex animations and quickly accommodate client changes. In this introduction, Chris Meyer shows how to let After Effects do most of the work by creating simple but very useful expressions that can be put to work on a wide variety of jobs.

The After Effects Apprentice videos on lynda.com were created by Trish and Chris Meyer and are designed to be used on their own and as a companion to their book After Effects Apprentice. We are honored to host these tutorials in the lynda.com Online Training Library®.

Topics include:
  • Creating and managing expressions
  • Linking together different parameters
  • Randomizing a layer's movement
  • Looping an animation
  • Controlling multiple layers from a single source
Subjects:
Video Motion Graphics Visual Effects
Software:
After Effects
Authors:
Chris Meyer Trish Meyer

Managing expressions

Now, before we go further, let's show a few ways of managing expressions. This little equal sign is very important. It shows that an expression is active. If I click on the equal sign, it becomes not equal, and that expression is now temporarily disabled for that layer. I will RAM preview, you will see I still have my scale animation; I just no longer have the rotation animation. But if I want it back, I will click on this again and turn that back on, and now that expression is in force again.

If I indeed want to delete the expression, I can either select the text and Backspace to delete it, I will undo; or again, Option+Alt click on the property to again delete that expression. I will undo again. Let's say that you want to reveal the expressions applied to a layer. Well, the same key that you used to reveal keyframes, U, will also reveal expressions for a layer. I'm pressing U again, and there are my expressions.

So U reveals both keyframes and expressions--anything that's causing animation to happen. Now let's say I happen to have both happening on this layer, keyframes and expressions. I will just press Shift+T to reveal Opacity and just keyframe a little fade-up here for the red pulley. Zero. If I wanted to reveal just expressions, I will select the layer and type EE, two Es in quick succession, and I get just the expressions. If I want to see everybody, I press U once to twirl up everybody, and U again to reveal all the animating properties.

There is no key to reveal just keyframes and not expressions, so sometimes your timeline can get a little bit messy, but hey, it's not bad. The other thing you need to watch out for is what happens whenever you induce an error in expression. Let's say that I accidentally just type garbage at the end of this expression and then click Enter. You will get a warning message whenever you have an expression that does not compute, that does not make sense. Here it says, "After Effects warning: Expression was disabled." And it tells you a bit of detail. It occurred at the first line, the property Rotation is not quite right.

Click OK, and now you will see a little warning symbol right next to the bad expression, and it automatically will be turned off. Just turning it on is not going to fix it; you'll just get the error again. What you need to do is either carefully delete your error in the expression, or in my case I can just undo to get back to where I was. Press Enter on numeric keypad, and now I have an enabled expression again, and life is good. And now I am going to delete my Opacity keyframes for now, just to get back these two layers being equal.

So that's the basics of applying expressions. You use the Pick Whip tool to tie a property of one layer to the same property of another layer. Very simple. Edit the keyframes of the master layer, the expressed layer will follow along. But of course, there is lot more you can do, so let's start to dive into that in the next movie.

Find answers to the most frequently asked questions about After Effects Apprentice 09: Expressions.


Expand all | Collapse all
please wait ...
Q: This course was updated on 11/29/2012. What changed?
A: We have added exercise files designed for After Effects CS6. We also added a movie that shows our premium subscribers how to use the exercise files.
 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Upgrade to download files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed After Effects Apprentice 09: Expressions.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.