|
|||||
|
|||||
Flash Tutorial - Tweening Shapes
001
Beginners
Flash Compatibility: MX For Flash 8: click here For Flash MX04: click here
Written by: Phil Schulz
Length: 1000 words
Assumed Knowledge: Tweening on stage, attaching simple actions to buttons and the time line.
The aim of the tutorial is to learn how to morph shapes in Flash. In Flash this is called tweening shapes. This is a simple form of animation that changes one shape into another.
Example: Download the Flash file Beg
001a
| |
Step one: Creating a Shape
Anything you shape tween must be on the same layer, so make sure that objects that are not going to be shape tweened are in a separate layer.

The layer I shape tweened starts with nothing but the word: one
All the other graphics are in a separate layer.

Step two: Selecting the frame to shape tween
There are now other options visible in this section of the Property panel, none of which you have to use!
Ease: A positive value will speed the tween, so that the shape changes very rapidly, then slows down. A negative number does the opposite. Quite honestly it does not make a big difference.
Blend - Distributive: Creates more smooth but irregular shapes in the animation.
Blend - Angular: Preserves angles and straight lines during the animation. If there are no angles or straight lines, Flash will revert back to Distributive without asking!
Note: As the tween is not finished, you will not see what these settings do, so don't change them now, come back to frame 1 and play with these settings when you have finished the tween.
Step three: Your second shape
For a shape tween to work you must have two shapes.
Step four: Test your movie
Your shape tween should now be finished.
Step five: Shape hints
You do not need to use shape hints and I did not use them in the movie above, but often shape tweens throw up unexpected results. To control the way the shape changes as it moves you use shape hints.
Step six: Tips
For the best results try not to make the shapes too complicated. Otherwise you may get unexpected results.
You can shape tween things you draw or type, but if they are groups, instances or text, they must be broken apart (Modify > Break Apart). Text has to be broken apart twice! Some groups or other objects may need to be broken apart several times. Remember if the object is not dotty, you cannot shape tween it.
The simplest thing to shape tween is something you have drawn on stage.
You can also break apart and shape tween a bitmap, but it does not work very well.
Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates
•
17350 visitors to this page since Jan 04 |
|
|
All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.
|