In Part 1 of Flash CS4: Motions Preset panel, I introduced the Motion Presets panel and demonstrated how it allows you to save as a preset your animation and apply it to an object on the Stage. I also pointed out that we’ve provided a library of prebuilt animations that you can preview before applying.
Well, how about if you want to preview your custom preset? Fortunately Flash CS4 allows you to do precisely that, and in this post I’ll outline the steps.
Creating a preview for your custom preset:
In just four steps you can easily create a preview for your custom motion preset.
First, create your tweened animation and (from the Motions Preset panel) save it as a custom preset.
Second, create a FLA file that contains only a demonstration of the tween. Save the FLA with the exact same name as the custom preset.
Third, create a SWF file from the FLA file with the Publish command.
Fourth, place the SWF file in the same directory as the saved custom motion preset XML file. These files are stored in the following directories:
Windows: \Documents and Settings\\Local Settings\Application Data\Adobe\Flash CS4\\Configuration\Motion Presets\
Macintosh: /Users//Library/Application Support/Adobe/Flash CS4//Configuration/Motion Presets/
Now when you select your custom preset the preview will display.
Lee Brimelow, Platform Evangelist at Adobe, recently posted on this very topic. Lee also has a video that you should check out.