15 August 2011
Adobe Flash Professional CS5 includes prebuilt motion presets that enable you to add animations with a minimal number of steps. You can also create a custom preset from any animation that you make and then reuse it throughout your documents. You can use motion presets as-is in your document or use them as a learning tool to see how animations are created or modified in the Motion Editor—or even as a jumping-off point for your own animations, since you can make any changes you want after applying a preset.
You can apply motion presets to tweenable instances (symbol instances and text), or non-tweenable instances, which will be wrapped in a movie clip. The animation in a Motion Preset can include a motion path, animated properties (2D or 3D), and eases; all of the properties and eases are saved in the preset, including the transform center (see Figure 58). The tweened object is not saved in the preset. Motion presets make it easy to animate a selection: you can simply make the selection, choose a Motion Preset, and click Apply. Motion presets let you add animation to a FLA file with pretty much no knowledge of animation, or very little effort. Everyone wins.
Figure 58. This animation was created using the "spiral-3D" motion preset. No code or knowledge of tweening were required to create this animation. If you can handle one click, you too can make this tween.
To apply a motion preset to an instance:
The preset is applied using the current position of the selected instance as the beginning of the tween. At this point, with the instance still selected, you can open the Motion Editor to view the animation that has been applied.
Tip: Applying presets and viewing the results in the Motion Editor can be helpful when learning the basics of how to tween and use the Motion Editor.
You will see that x, y, and z position has been tweened (which means the animation has 3D), and an ease is applied to the Y property. If you scroll down, you can also see a curve in the Scale properties, and if you keep scrolling you'll see the Bounce In ease that has been used to create the bounce motion.
To apply a motion preset using an instance's position as the end of the tween:
Tip: Instead of holding Shift when you click Apply, you can select the movie clip and then choose End at current position from the Motion Presets panel menu.
To create a motion preset from a motion tween:
After you create the motion preset, you can use it on any instance in any Flash document. The motion preset is saved on your hard disk in a file that you can share with other people. To find out how, keep reading.
To share or load custom motion presets:
Several other options are available in the Motion Presets panel menu and buttons as follows:
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.