Keyframes indicate points within a frame where an object or clip effect will transition from its current state to a new state. In other words, whenever a keyframe transition happens, the object or clip effect properties change. Because of this, you can create simple animations, such as a "bouncing" oval.
You can tell that an object or clip effect contains keyframes by looking in the Frame View and Action View options in the Timeline window pane. If a keyframe type bar containing one or more diamonds is nested below an object or a clip effect, it contains keyframes.
Additionally, when you add an object that contains keyframes to a palette, it retains the keyframes. If that object has a clip effect applied to it and that clip effect contains keyframes, they will also carry over to the palette.
Depending on the object you have selected, keyframes allow many transitions, including:
- Background The object's background color changes.
- Opacity The object's transparency changes.
- Position The object or effect area moves directionally on the frame.
- Size The object or effect area can become larger or smaller.
- Rotation The object rotates, in any direction, on the frame.
- Text Text on the object changes, including what is actually typed, font type, font formatting, and the position of the text on the object.
This frame contains a black rectangle object. Right now, the object is opaque. However, we want it to change between black and white during the course of the frame. To do this, we will add a series of background keyframes by using the Keyframe button in the Object Properties window pane.
When the object is at the starting point of the transition—in other words, when we first want the object to change color—click the keyframe button next to the Color property in the Object Properties window pane. Once the first keyframe has been added, the background keyframe type bar is added to the object. Each keyframe is indicated by diamond on the keyframe type bar.
For each new color setting, drag the playhead to the time at which the object should change color, then select a new color from the Object Appearance section in the Object Properties window pane. A new keyframe diamond is automatically added to the Timeline.
Additionally, you can set an interpolation option when creating keyframes. This changes the type of transition between each keyframe. To do this, click the keyframe diamond, then select an option from the Interpolation drop-down in the Keyframe Properties window pane. In this case, you can pick linear or discrete interpolation. A linear interpolation causes a gradual fade between each color, while a discrete interpolation causes a distinct change between the colors precisely when the keyframe is reached.
- Add Keyframes
Whenever you add an object to a frame, you have the option to set up keyframes. When viewing the Object Properties window pane, object attributes that can include keyframes are indicated by a diamond.See Adding Keyframes.
- Edit Keyframes
Once you have set a keyframe, you can easily edit it. Editing a keyframe gives you access to the interpolation property.See Editing Keyframes.
- Move Keyframes
You can move keyframes to they will occur at a different time than originally planned. Additionally, you can change the position of a keyframe to start and end anywhere on the frame that you would like.See Moving Keyframes.
- Remove Keyframes
You can remove individual keyframes or entire keyframe type bars.See Removing Keyframes.
Note: You can add size and position keyframes to clip effects. Clip is the only effect that supports keyframes. Note that the opacity keyframe (which can be applied to any object) is not the same as an opacity effect (which can only be applied to image objects).
Note: If you set a shape's opacity to 0% (fully transparent), it will be hidden on the frame. This allows you to prevent users from clicking on or selecting a shape accidentally.
Note: If you add an object that contains keyframes to your palette, it will retain those keyframes.