Copy the properties that define a motion tween in the Timeline as ActionScript 3.0 and apply that motion to another symbol. Apply the motion either in the Actions panel or in the source files (such as class files) that uses ActionScript 3.0.
Use the fl.motion classes to customize the Animate-generated ActionScript for your specific project.
Copying motion as an ActionScript 3.0
When you copy a motion as an ActionScript 3.0, it captures the following properties of a motion tween:
- Position
Scale
Skew
Rotation
Transformation point
Color
Blend Mode
Orientation to path
Cache as a bitmap setting
Easing
Filters
3D rotation and position
- Select the tween span in the Timeline or the object on the Stage that contains the motion tween to copy. Only one tween span or tweened object can be selected to copy as ActionScript 3.0.
- Do one of the following:
- Select Edit > Timeline > Copy Motion As ActionScript 3.0.
- Right-click (Windows) or Control-click (Macintosh) the tween span or the tweened instance on the Stage and choose Copy Motion As ActionScript 3.0.
See also
Create interactive animations with Animate
Design animations for cartoons, banners, games, and the web.