I really need to show this to y'all on our next meeting, cause it's such an amazing feature.
Designers normally create tweens and frame-by-frame animations in Flash which are complex and messy which are then sent to a developer to code it into ActionScript or "clean it up" etc. With this feature, when the developer needs to work with the frame-by-frame animations and he has to accomplish the same tween in ActionScript, it'll be a breeze - it's a matter of just copying and pasting the code that gets generated by Flash 9! This is a real time-saver and it will definitely hit home with all developers:
You basically select all the Frames with animations made by a Flash designer and Flash 9 will let you convert these frames directly into ActionScript! It even keeps all the properties such as Alpha, rotation etc.
This is the process on how to copy motion as ActionScript 3.0:
- To use:
- Select all frames of animation on a layer, right-click on the frames and select “Copy as ActionScript 3.0”.
- A dialog will appear asking for an instance name; supply one and click OK.
- The clipboard will now contain AS3 code. Paste it into the Actions panel on an appropriate frame.
- Ensure there is a movie clip instance on stage with the instance name you provided.
- Generate a SWF to see the animation.
- The command is also in the Edit -> Timeline menu
- Supported properties: position, scale, rotation, skew, color, easing, transform point, filters misc. frame properties.