Like most things in Animate, animation does not require any ActionScript. However, you can create animation with ActionScript if you choose.
Classic tweens are an older way of creating animation in Animate. These tweens are similar to the newer motion tweens, but are somewhat more complicated to create and less flexible. However, classic tweens do provide some types of control over animation that motion tweens do not. Most users will choose to work with the newer motion tweens, but some users will still want to use classic tweens. For more information about the differences, see Differences between motion tweens and classic tweens.
Before you begin:
Before working with classic tweens, keep in mind the following points:
Classic tweens are the older way of creating tweened animation in Animate. The newer, easier way is to use motion tweens. See Motion tween animation.
You cannot tween 3D properties with classic tweens.
For samples of classic tween animation, see the Animate Samples page at www.adobe.com/go/learn_fl_samples. The following samples are available:
Animated Drop Shadow: Download and decompress the Samples ZIP file and navigate to the Graphics\AnimatedDropShadow folder to access the sample.
Animation and Gradients: Download and decompress the Samples ZIP file and navigate to the Graphics\AnimationAndGradients folder to access the sample.
This topic is about creating keyframes for the older classic tweens. For help with property keyframes for the newer motion tweens, see Create tween animation.
Changes in a classic tween animation are defined in a keyframe. In tweened animation, you define keyframes at significant points in the animation and Animate creates the contents of frames between. The interpolated frames of a tweened animation appear as light blue or light green with an arrow drawn between keyframes. Because Animate documents save the shapes in each keyframe, create keyframes only at those points in the artwork where something changes.
Keyframes are indicated in the Timeline: a solid circle represents a keyframe with content on it, and an empty circle before the frame represents an empty keyframe. Subsequent frames added to the same layer have the same content as the keyframe.
Only keyframes are editable in a classic tween. You can view tweened frames, but you can’t edit them directly. To edit tweened frames, change one of the defining keyframes or insert a new keyframe between the beginning and ending keyframes. Drag items from the Library panel onto the Stage to add the items to the current keyframe.
To display and edit more than one frame at a time, see Use onion skinning.
To insert a new frame, select Insert > Timeline > Frame.
To create a new keyframe, select Insert > Timeline > Keyframe, or right-click (Windows) or Control‑click (Macintosh) the frame where you want to place a keyframe, and select Insert Keyframe.
To create a new blank keyframe, select Insert > Timeline > Blank Keyframe, or right-click (Windows) or Control‑click (Macintosh) the frame where you want to place the keyframe, and select Insert Blank Keyframe.
To delete a frame, keyframe, or frame sequence, select it and right-click (Windows) or Control‑click (Macintosh) and select Remove Frames. Surrounding frames remain unchanged.
To move a keyframe or frame sequence and its contents, select it and drag to the desired location.
To extend the duration of a keyframe, Alt‑drag (Windows) or Option-drag (Macintosh) it to the final frame of the new sequence.
To copy and paste a frame or frame sequence, select it and select Edit > Timeline > Copy Frames. Select a frame or sequence to replace, and select Edit > Timeline > Paste Frames. To paste and replace the exact number of copied frames on the target timeline, use the Paste and Overwrite Frames option.
To convert a keyframe to a frame, select the keyframe and select Modify > Timeline > Clear Keyframe, or right-click (Windows) or Control‑click (Macintosh) it and select Clear Keyframe. The cleared keyframe and all frames up to the subsequent keyframe are replaced with the contents of the frame preceding the cleared keyframe.
To copy a keyframe or frame sequence by dragging, select it and Alt‑drag (Windows) or Option-drag (Macintosh) to the new location.
To change the length of a tweened sequence, drag the beginning or ending keyframe left or right.
To add a library item to the current keyframe, drag the item from the Library panel onto the Stage.
To reverse an animation sequence, select the appropriate frames in one or more layers and select Modify > Timeline > Reverse Frames. Keyframes must be at the beginning and end of the sequence.
This topic is about creating older classic tweens. For help with creating the newer motion tweens, see Create tween animation.
To tween the changes in properties of instances, groups, and type, you can use a classic tween. Animate can tween position, size, rotation, and skew of instances, groups, and type. Additionally, Animate can tween the color of instances and type, creating gradual color shifts or making an instance fade in or out.
Before tweening the color of groups or type, make them into symbols. Before animating individual characters in a block of text separately, place each character in a separate text block.
If you apply a classic tween and then change the number of frames between the two keyframes, or move the group or symbol in either keyframe, Animate automatically tweens the frames again.
Create a graphic object with the Pen, Oval, Rectangle, Pencil, or Brush tool, and then convert it to a symbol.
Create an instance, group, or text block on the Stage.
Drag an instance of a symbol from the Library panel.
To create a tween, you must have only one item on the layer.
Click any frame in the tween’s frame span and select Insert > Classic Tween.
Right-click (Windows) or Control-click (Macintosh) any frame in the tween’s frame span and select Create Classic Tween from the context menu.
- To produce a more realistic sense of motion, apply easing to the classic tween. To apply easing to a classic tween, use the Ease field in the Tweening section of the Property inspector to specify an easing value for each classic tween you create. Use the Custom Ease In/Ease Out dialog box to more precisely control the speed of the classic tween.
Drag the value in the Easing field or enter a value to adjust the rate of change between tweened frames:
To begin the classic tween slowly and accelerate the tween toward the end of the animation, enter a negative value between ‑1 and ‑100.
To begin the classic tween rapidly and decelerate the tween toward the end of the animation, enter a positive value between 1 and 100.
To produce a more complex change in speed within the tween’s frame span, click the Edit button next to the Ease field to open the Custom Ease In/Ease Out dialog box.
By default, the rate of change between tweened frames is constant. Easing creates a more natural appearance of acceleration or deceleration by gradually adjusting the rate of change.
- To rotate the selected item during the tween, select an option from the Rotate menu in the Property inspector:
To prevent rotation, select None (the default setting).
To rotate the object once in the direction requiring the least motion, select Auto.
To rotate the object as indicated, and then enter a number to specify the number of rotations, select Clockwise (CW) or Counterclockwise (CCW).
The rotation in step 8 is in addition to any rotation you applied to the ending frame in step 4.
- To synchronize the animation of graphic symbol instances with the main Timeline, select the Sync option in the Property inspector.
Modify > Timeline > Synchronize Symbols and the Sync option both recalculate the number of frames in a tween to match the number of frames allotted to it in the Timeline. Use the Sync option if the number of frames in the animation sequence inside the symbol is not an even multiple of the number of frames the graphic instance occupies in the document.
Animate allows you to work with Classic Tweens as XML files. Natively, Animate allows you to apply the following commands on any Classic Tween:
Copy Motion as XML
Export Motion as XML
Import Motion as XML
Allows you to copy Motion properties applied to any object on the Stage at a said frame.
Create a Classic Tween.
Select any keyframe on the Timeline.
Go to Commands > Copy Motion as XML.
Allows you to export Motion properties applied to any object on the stage to an XML file that can be saved.
Create a Classic Tween.
Go to Commands > Export Motion as XML.
Browse to a suitable location where you want to save the file.
Provide a name for the XML file, and click Save.
To control the movement of objects in a classic tween animation, create a motion guide layer.
You cannot drag a motion tween layer or inverse kinematics pose layer onto a guide layer.
This topic is about working with older classic tweens. For help with using the newer motion tweens with motion paths, see Edit the motion path of a tween animation.
Motion guide layers let you draw paths along which tweened instances, groups, or text blocks can be animated. You can link multiple layers to a motion guide layer to have multiple objects follow the same path. A normal layer that is linked to a motion guide layer becomes a guided layer.
- Right-click (Windows) or Control-click (Macintosh) the layer name of the layer containing the classic tween and choose Add Classic Motion Guide.
Animate adds a motion guide layer above the classic tween layer and indents the name of the classic tween layer to show that it is bound to the motion guide layer.
If you already have a guide layer in the Timeline, you can drag a layer containing the classic tween below the guide layer to convert the guide layer to a motion guide and bind the classic tween to it.
To know more about animation guide based on variable width stroke and variable stroke color, see Animation Guide
Drag an existing layer below the motion guide layer. The layer is indented under the motion guide layer. All objects on this layer automatically snap to the motion path.
Create a new layer under the motion guide layer. Objects you tween on this layer are automatically tweened along the motion path.
Select a layer below a motion guide layer. Select Modify > Timeline > Layer Properties, and select Guide.
This topic is about pasting properties of older classic tweens. For help with pasting properties of the newer motion tweens, see Copy and paste motion tween properties.
The Paste Motion command lets you copy a classic tween, and paste only specific properties to apply to another object.
- Select Edit > Timeline > Paste Motion Special. Select the specific classic tween properties to paste to the symbol instance. The classic tween properties are:
The ratio between the current size of the object and its natural size in the horizontal direction (X).
Specifies the ratio between the current size of the object and its natural size in the vertical direction (Y).
Rotation And Skew
The rotation and skew of the object. These properties must be jointly applied to an object. Skew is a measurement of rotation in degrees, and when you rotate and skew, each property affects the other.
All filter values and changes for the selected span. If filters are applied to an object, the filter is pasted with all values intact, and its state (enabled or disabled) applies to the new object as well.
Override Target Scale Properties
When unchecked, specifies that all properties be pasted relative to the target object. When checked, this option overrides the scale properties of the target.
Override Target Rotation And Skew Properties
When unchecked, specifies that all properties be pasted relative to the target object. When checked, the pasted properties override the existing rotation and scale properties of the object.
This topic is about adding easing to older classic tweens. For help with adding easing to the newer motion tweens, see Easing tween animations.
The Custom Ease In/Ease Out dialog box displays a graph representing the degree of motion over time. The horizontal axis represents frames, and the vertical axis represents percentage of change. The first keyframe is represented as 0%, and the last keyframe is represented as 100%.
The slope of the graph’s curve represents the rate of change of the object. When the curve is horizontal (no slope), the velocity is zero; when the curve is vertical, an instantaneous rate of change occurs.
Use One Setting For All Properties check box
The default is selected; the displayed curve is used for all properties, and the Properties pop-up menu is disabled. When the check box is not selected, the Properties pop-up menu is enabled, and each property has a separate curve defining the velocity of that property.
Property pop-up menu
Enabled only when the Use One Setting for All Properties check box is not selected. When enabled, a separate curve is maintained for each of the five properties appearing in the menu. Selecting a property in the menu displays the curve for that property. The properties are:
Play and Stop buttons
Let you preview an animation on the Stage using all the current velocity curves defined in the Custom Ease In/Ease Out dialog box.
Position of the selected control point
In the lower-right corner of the dialog box, a numeric value displays the keyframe and position of the selected control point. If no control point is selected, no value appears.
To add a control point to the line, click the diagonal line once. To achieve a precise degree of control over the motion of an object, drag the positions of the control points.
Using frame indicators (represented by square handles), click where you want an object to slow down or speed up. Clicking the square handle of a control point selects that control point, and displays the tangent points on either side of it. Hollow circles represent tangent points. Drag the control point or its tangent points with the mouse or use the keyboard’s arrow keys to position them.
Tip: By default, the control points snap to a grid. You can turn off snapping by pressing the X key while dragging the control point.
Clicking an area of the curve away from any control points adds a new control point to the curve at that point, without changing the shape of the curve. Clicking away from the curve and control points deselects the currently selected control point.
If you use the Custom Ease In/Ease Out dialog box to apply a custom ease to a frame, the edit box that shows the ease value shows '--'. If you use the Edit box or the pop-up slider to apply an ease value to a frame, the Custom Ease graph is set to the equivalent curve, and the Use One Setting For All Properties check box is selected.
To copy the current ease curve, press Control+C (Windows) or Command+C (Macintosh).
To paste the copied curve into another ease curve, press Control+V (Windows) or Command+V (Macintosh).
You can copy and paste the ease curve. The copied curve remains available until you exit the Animate application.
Certain types of easing curves are not supported. No part of the graph can represent a nonlinear curve (such as a circle).
The Custom Ease dialog box automatically prevents moving a control point or a tangent handle to a position that would render an invalid curve: