The aim
of the tutorial is to learn how to tween symbols using motion guides. Ordinarily
with a Tween an object moves in a straight line from one point to the next.
Motion guides allow you to move an object in a curve or spiral between
one point to the next.
Cross
Ref: If you are not familiar with Tweening it may be better to look at a
standard Tween. See tutorial: Beginners - Animation Tweening
Cross
Ref: Below
is an example from an intermediate level tutorial that uses motion guides
to animate the electrons: Intermediate - Animation - Lithium Atom
Movement of the electrons has been created with motion guides.
For this beginners tutorial I am going to show you how to create
something simple such as the spiral animation above. If you want to try and
create the atom: click here
Step one: Setting up the Document
Go to: File > New
Go to: Modify > Document
For Dimensions type: 200 x 160 px
If you wish change the Background colour.
When everything is correct click: OK
Step two: Create a Symbol
Go to: Insert > New Symbol
Give the symbol a name: Spiral Select Behavior: Graphic Click: OK
Use the text tool and
type: Spiral
Note: You can of course type anything you like. You
could also use a drawing tool like the Brush to
draw something. You could
also copy and paste from another program. This could be clip art (from a
program like Word) or a drawing from a graphics program such
as: Freehand, Illustrator or CorelDraw.
When you have finished typing (or drawing) use the Selection
tool to
move the text (or drawing) to the centre of the symbol. You will see a cross which
is the registration point or centre point of the symbol.
Note: If you want to centre something with accuracy use
the Align Panel. Select the object you want to align.
a. Go to Window > Design Panels > Align
b. Select
the To Stage button:
c. Click the Align Vertical Centre:
d. Click the
Align Horizontal Centre:
If the Edit Bar is closed, open it: Window > Tool Bars > Edit
Bar
When you have finished return to the main stage by clicking
on the Scene 1 button:
Step three: Motion Tween
The next step is to create a standard Motion Tween:
Open the Library: Window > Library
Drag the symbol Spiral on to the Main Stage.
In the Timeline right click (Mac Ctrl click) on: Frame
40
A menu appears - select: Insert Keyframe
You should now have a solid dot at each end of the timeline:
Timeline with two keyframes.
If the Property Inspector is closed, open it: Window
> Property
In the Timeline click on: Frame 1
In the Property Inspector select: Tween > Motion
Your Timeline should now look like this:
If the Tween is correct you have an arrow in between the two
keyframes (black dots) with a blue background.
Rename Layer 1. In the Timeline double click on the words Layer 1 and type: Tween
For the moment we are done with the Tween.
Step four: The Motion Guide
In the Timeline click on the Button: Add Motion Guide
The new Guide Layer above the Tween.
If your Tools are not open, open them: Window > Tools
Select the: Pencil Tool
In the Options section at the bottom of the Tool Panel select: Smooth
Selecting the Smooth setting for the Pencil tool.
In the Guide Layer select: Frame 1
Frame 1 of the new guide layer selected.
With the Pencil tool still
selected: Draw a spiral
The Stage with both Layers.
Note: Make
sure that spiral (or any other curve that you want to draw) must
not cross over itself.
Go to the Selection tool:
Click on the spiral line to select it.
If the Property Inspector is closed, open it: Window > Property
The Property Inspector will now display information about
the Pencil tool. If it is not set to a line width of 1 point (or
less), select: 1
Setting the Pencil tool to a Stroke Height (width)
of 1 point.
In the Guide Layer click
on the: Lock Button
The Guide Layer is padlocked.
This is done to ensure that the spiral guide drawing is not
selected by mistake.
Go to: View > Snapping > Snap to Objects
Snap to Objects should be ticked:
Note: This is not essential, but it makes it easier because you will clearly see the Spiral Symbol snap onto the guide line.
With the Selection Tool grab
the centre point of the 'Spiral: text and drag it onto the beginning of
the spiral line. You should see the text jump as the text symbol snaps onto
the guideline.
The Spiral text centre point snapped onto the begriming of the guideline.
Note: It is the registration point in the centre of the
symbol which snaps to the guide. The registration point must be directly
over the top of the guideline. It is easiest to pick up the symbol by the
registration point.
Move the Playhead to: Frame 40
Playhead on frame 40.
Drag
the "Spiral" text onto the end of the spiral guideline.
You should see the text jump as the text symbol snaps onto the guideline.
Symbol snapped onto end point of guideline.
The Motion guide is now complete. To test the movie, on the
keyboard press:
Enter
The word "Spiral" should move in around the spiral guide.
Note: The guideline will not be visible in the final
published movie. To preview what it will look like when finished
goto: Control
> Test Movie
Step five: Background
In my example movie at the top of the page I have a spiral background:
Spiral Background.
This spiral is simply drawn in a Layer of it's own and is not
related to the Tween or Motion Guide. To create a background do the following:
In the Tween Layer click on the: Lock Button Both the Tween and Guide Layer should now be locked and you should
see the padlock icon
in both layers.
In the Timeline click on the Button: Insert Layer
Re-name this Layer: Background
This
new Layer will not be in the correct place. It should be at the bottom of
the stack of Layers. Drag this new Layer so that it is underneath the others.
All three layer in the correct order and the top two locked.
Use the Brush tool to
paint a spiral or other shape.
Save and test your movie.
Note: In the Illustration above the
Layer name 'Background' is indented to the left of the Layer labeled
'Tween'. If your labels
are not indented but straight in-line one under the other as in the
illustration below, the two layer are part of the same group.
If the under the guide are in a in-line they are part
of the guide group. It does not need part of this group. Drag
the
Label
'Background'
down
and to the left. This will remove in from the group like this:
To place a layer back the group drag it slightly up and to the right. In
this way you can have more than one object attached to the same guide,
each with its own individual Tween