Adding Keyframes to the Transform Parameters


Earlier in this lesson, you used keyframes to change the values of the audio Level curve in the Audio Editor. You can use that same technique to modify virtually any parameter in Motion. For this exercise, you'll set keyframes for the Scale and Position Transform parameters. You can manually set each parameter by moving the playhead and clicking the keyframe pop-up menu next to the parameter, or you can turn on the Record button in the transport controls to record all parameter changes at the playhead position. The best part about recording keyframes with the Record feature is that you can make your changes with the Transform tool in the Canvas, and you never have to visit the Inspector to set keyframes.

Your goal is to keyframe the Scale and Position parameters for the 22 and A objects so that the objects move into their final positions in the frame. Let's start with the A object, since you're most familiar with it.

Grouping Elements Before Animating Them

One point to consider before you go haphazardly keyframing the A object is that whatever you apply to the A object, you also need to apply to the Corona emitter to keep the two in sync. The easiest way to keep these objects in sync is to group them. Then you can apply keyframes to the grouped sublayer rather than to each individual object.

1.

In the Timeline Layer list, Cmd-click the A object to select it along with the Corona emitter (which should already be selected).

2.

Choose Object > Group to group the two elements together on a sublayer.

A sublayer named Layer containing the A object and the Corona emitter appears on the 22A logo layer.

3.

Rename the sublayer Flaming A so you'll be able to identify it later.

Keyframing in the Inspector

Recording keyframes is the easiest way to keyframe your project's parameters. Still, it's a good idea to know how to add a keyframe in the Inspector, in case you ever need to do so. Think of this exercise as long division or algebra. You may not use it every day, but it's still a good idea to understand how it works.

Let's set two keyframes on the Flaming A layer to hold its initial size and position for 1 second. Why? Because any time you add keyframes, the animation begins with the parameter settings for the first frame of the object and moves forward to the new keyframes. In this case, you want the A object to maintain its original scale and position between the first frame and the 30th frame. Adding a keyframe on the 30th frame with the exact same parameter settings as the first frame maintains those settings for the first 30 frames. Let's set keyframes for the size and position parameters on the 30th frame. Remember that the goal is to maintain the same settings as the first frame, so you won't need to change the value of the parameters. All you will do is set the keyframes to lock in the parameter values on that frame.

1.

On the Properties tab of the Inspector, locate the Transform parameters.

2.

In the Timeline, move the playhead to the end USFPG logo marker.

If you set Position and Scale keyframes for the sublayer in this frame, you are locking both parameters from the first frame to the keyframe (for 30 frames) at the current values. That's exactly what you want to do.

How do you set keyframes in the Inspector? The same way that you did in the Audio Editor. You simply click the keyframe pop-up menu and choose Add Keyframe.

3.

On the Properties tab of the Inspector, click the Position keyframe pop-up menu and choose Add Keyframe.

A black diamond appears in place of the Position pop-up menu to show that a keyframe has been applied to that parameter at that specific timecode position.

4.

Click the keyframe pop-up menu for the Scale parameter and select Add Keyframe from the menu.

5.

Press Cmd-S to save your progress.

Viewing Keyframes in the Timing Pane

You can view the keyframes in the Timeline by clicking the Show/Hide Keyframes button at the bottom of the Timeline tab. Let's show the keyframes in the Timeline.

1.

Click the Show/Hide Keyframes button at the bottom of the Timeline tab to show keyframes in the Timeline.

The keyframes appear at the playhead position, below the keyframed elements in the Timeline.

You can also view and modify the keyframes in the Keyframe Editor, which is the middle tab on the Timing pane.

2.

Press Cmd-8 to open the Keyframe Editor, or simply click the Keyframe Editor tab.

The keyframed parameters appear in the list on the left side of the Keyframe Editor tab. The Keyframe Editor should seem familiar, because it works exactly like the Audio Editorexcept that the Audio Editor shows only the Audio parameter keyframes, whereas the Keyframe Editor shows all parameters that can be keyframed.

You can add, move, and delete parameter keyframes in the Keyframe Editor.

Because manipulating keyframes is more of an advanced Motion feature, let's focus on applying keyframes to finish the project.

3.

Click the Timeline tab to go back to the Timeline tab in the Timing pane.



    Apple Pro Training Series Getting Started with Motion
    Apple Pro Training Series: Getting Started With Motion
    ISBN: 0321305337
    EAN: 2147483647
    Year: 2005
    Pages: 283
    Authors: Mary Plummer

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net