A frame-by-frame animation changes the contents of the Stage in every frame and is best suited to a complex animation in which an image changes in every frame instead of simply moving across the Stage. This type of animation increases the file size more rapidly than tweened animation because Flash stores the values for each keyframe.
To create a frame-by-frame animation, you define each frame as a keyframe and create a different (typically modified) image for each frame. Each new keyframe on a layer typically contains the same contents as the keyframe preceding it because the contents of a frame are copied to the next keyframe when you select a frame and press F6. By selecting a frame and pressing F6, you can modify each new keyframe in the animation incrementally. In Figure 14, you can see that a frame-by-frame animation was used to move a pirate's head very slightly on sequential frames.

Figure 14. Use frame-by-frame animation to create subtle or very exact animation. Sometimes you can use eases instead for jittery random movements. Keep reading this article for more information on using easing for animation.
Often, you use the onion skin feature, enabled in Figure 14, to view incremental changes between each keyframe. The onion skin tool enables you to view multiple frames of the animation at once. For detailed information on using the onion skin feature, see "Onion skinning and editing multiple frames."
To make this most of this learning guide, you need to install the following software:
A basic knowledge of the Flash workspace.
To create a frame-by-frame animation:
In Flash CS4 you can use various tools to edit your animations, such as commands to insert frames, modify keyframes, onion-skinning tools, and the ability to move your animations around timelines. After you create a keyframe or a frame, you can move it elsewhere in the active layer or to another layer, remove it, and make other changes. Only keyframes are editable. You can drag items from the Library panel onto the Stage to add the items to the currently selected keyframe.
Tip: To display and edit more than one frame at a time, use onion skinning and/or Edit Multiple Keyframes, covered next in "Onion skinning and editing multiple frames."
To insert frames in the Timeline, do one of the following:
To delete or modify a frame or keyframe, do one of the following:
Often, you use the onion skin feature, enabled in Figure 14, to view incremental changes between each keyframe (as shown in the Figure 15). This can be useful when creating frame-by-frame animations, described in previous sections of this article, or when working with static frames and motion tweens (described in Animation Learning Guide for Flash: Motion tweens).

Figure 15.. You can tween instances in Flash. In this case, an animation has been applied to the pirate's arms, head, and so on. The onion skin tools enable you to view multiple frames of this frame-by-frame animation at once.
Normally, Flash displays one frame of the animation sequence at a time on the Stage: you see the frame where the playhead currently is. To help you position and edit a frame-by-frame animation, you can view two or more frames on the Stage at once. When you turn on onion skinning, the frame under the playhead appears in full color, while surrounding selected frames (between two markers) are dimmed, making it appear as if each frame were drawn on a sheet of translucent onion-skin paper and the sheets were stacked on top of each other. Dimmed frames cannot be edited. Like onion skinning, when you turn on Edit Multiple Frames (see Figure 16), you see the keyframes within the selected span of frames. You can then edit all of the keyframes between these two markers at once.

Figure 16. Enable Edit Multiple Frames to modify all keyframes at the same time.
To turn on onion skinning, click the Onion Skin or Onion Skin Outlines button near the bottom of the Timeline (see Figure 17). Drag the markers above the Timeline to view multiple frames at once (see Figure 18). Both onion skin and onion skin outlines are enabled for an animation on the Stage in Figure 15.

Figure 17. Click Onion Skin or Onion Skin Outlines (to the right of Onion Skin) to enable onion skinning.

Figure 18. Drag the markers above the Timeline to view multiple frames at once. The onion skin outlines are enabled for an animation on the Stage in Figure 14.
To simultaneously see several frames of an animation on the Stage, click the Onion Skin button. All frames between the Start Onion Skin and End Onion Skin markers (in the Timeline header) are superimposed as one frame in the Document window as shown earlier.
To control onion skinning display, do any of the following:
Note: Locked layers (those with a padlock icon active next to the layer name) aren't displayed when onion skinning is turned on. To avoid a multitude of confusing images, you can lock or hide the layers you don't want onion-skinned.
To change the display of onion skin markers, click the Modify Onion Markers button and select an item from the menu:
You can use Edit Multiple Frames to make modifications to all instances within a selected number of frames. For example, if you have instances on frames 1, 5, and 10 and you want to move them all to the top of the Stage, and scale them larger, you can use Edit Multiple Frames to see and select all of the instances and make the change all at once.
Note: Edit Multiple Frames works with instances, and because a tween span has one instance and hence one keyframe, you cannot edit property keyframes using this feature. The instance at frame 1 of a tween span can, however, be selected and modified using Edit Multiple Frames. For more information on this, see "Working with the target object of a tween."
Read other sections of the Animation Learning Guide for Flash.
Jen deHaan was raised by wolves in the deep woods of the Canadian north. Later in life, Jen worked with Flash as a deseloper, then wrote about Flash for five versions, and then worked on stuff that didn't include much Flash. She came to her senses in 2007 by rejoining the fabled Flash team at Adobe as a QE, focusing on the good stuff—Motion (on timelines). Jen enjoys long walks in the rain pondering how many times she can use the word Flash in a bio, and admits that after numerous years in California she is no longer addicted to Tim Horton's coffee.
John Mayhew is a hopeless software developer, and has been for a very long time, but he still loves it. John likes being able to launch an app, demo a feature, and show people exactly what he creates for a living. Along the way he has worked for several small companies and consulted for many years. Among the more notable companies John worked for are Micrografx (ABC FlowCharter and their Graphics Suite offering) and Macromedia (mobile authoring tools), which eventually led him to the Flash authoring team. He has focused for the last few years on creating a simple, yet more powerful animation system in the Flash authoring tool. Achieving both of those goals has proven to be quite a challenge. You can see if John and his colleagues achieved those lofty ambitions in Flash CS4 Professional.