|
Flash CS4 Resources |
Animation basicsTypes of animationAdobe® Flash® CS4 Professional provides several ways to create animation and special effects. Each method provides you with different possibilities for creating engaging animated content. Flash supports the following types of animation:
The following video tutorial provides further explanation of the different types of animation: Understanding tweens (2:36). About frame ratesThe frame rate, the speed the animation is played at, is measured in number of frames per second (fps). A frame rate that’s too slow makes the animation appear to stop and start; a frame rate that’s too fast blurs the details of the animation. A frame rate of 24 fps is the default for new Flash documents and usually gives the best results on the web. The standard motion‑picture rate is also 24 fps. The complexity of the animation and the speed of the computer playing the animation affect the smoothness of the playback. To determine optimum frame rates, test your animations on a variety of computers. Because you specify only one frame rate for the entire Flash document, set this rate before you begin creating animation. Identifying animations in the TimelineFlash distinguishes tweened animation from frame-by-frame animation in the Timeline by displaying different indicators in each frame that contains content. The following frame content indicators appear in the Timeline:
About layers in animationEach scene in a Flash document can consist of any number of Timeline layers. Use layers and layer folders to organize the contents of an animation sequence and separate animated objects. Organizing them in layers and folders prevents them from erasing, connecting to, or segmenting each other when they overlap. To create animation that includes tweened movement of more than one symbol or text field at once, place each object on a separate layer. You can use one layer as a background layer to contain static artwork and use additional layers to contain one separate animated object. When you create a motion tween, Flash converts the layer containing the object you selected to tween into a tween layer. The tween layer has a tween icon next to the layer name in the Timeline. If other objects are present on the same layer as the tweened object, Flash adds new layers above or below the original layer as needed. Any objects that existed below the tweened object on its original layer move to a new layer below the original layer. Any objects that were above the tweened object on its original layer move to a new layer above the original layer. Flash inserts these new layers between any pre-existing layers in the Timeline. In this way Flash preserves the original stacking order of all the graphic objects on the Stage. A tween layer can contain only tween spans (contiguous groups of frames containing a tween), static frames, blank keyframes, or empty frames. Each tween span can contain only a single target object and an optional motion path for the target object. Because you cannot draw in a tween layer, create additional tweens or static frames on other layers and then drag them to the tween layer. To place frame scripts on a tween layer, create them on another layer and drag them to the tween layer. A frame script can only reside in a frame outside the motion tween span itself. In general, it is best to keep all frame scripts on a separate layer that contains only ActionScript. When a document has several layers, tracking and editing the objects on one or more of them can be difficult. This task is easier if you work with the contents of one layer at a time. To hide or lock layers you are not currently working on, click the Eye or Lock icon next to the layer name in the Timeline. Using layer folders can help you organize layers into manageable groups. Distributing objects to layers for tweened animationFlash automatically moves an object to its own tween layer when you apply a motion tween to the object. However, you can also distribute objects to their own separate layers yourself. For example, you can choose to distribute objects yourself when you are organizing content. Manual distribution is also useful for applying animation to objects while maintaining precise control over how they move from one layer to another. When you use the Distribute To Layers command (Modify > Timeline > Distribute To Layers), Flash distributes each selected object to a new, separate layer. Any objects that you don’t select (including objects in other frames) are preserved in their original layers. You can apply the Distribute To Layers command to any element on the Stage, including graphic objects, instances, bitmaps, video clips, and broken-apart text blocks. About new layers created with Distribute to LayersNew layers created during the Distribute To Layers operation are named according to the name of the element that each contains:
Distribute objects to layers
Additional resourcesThe following articles are available about working with animation in Flash:
|