|
||||||
|
||||||
Flash Tutorial - Animated Masks
Free
Flash Tutorial
![]()
This tutorial shows you how to make a simple animated Mask in Flash. A Mask is an object which hides something. In Flash Masks are used with layers and they provide a simple way to selectively reveal portions of the Layer or Layers below. Masking requires making one Layer a Mask Layer and the Layers below it become only partly visible or masked.
In the example below the top Layer has a circle which has been animated. This is the Masked Layer and you can see through this circle to the Layer below:
My Example: Download
the Flash file Beg 006a
Flash Movie with an Animated Mask.
Click by Click: If you would like to view this tutorial without all the notes: Click by Click
Cross Ref: There is another tutorial explaining how to create a Mask which is attached to the movement of the Mouse. See: Masks Attached to the Mouse
Step One: Setting up the Document
Note: You should now be able to see a new Flash document.
Step Two: Creating the Text
Rename the Layer to Background.
My text.Note: As an alternative to typing you could do a drawing or even import a photo.
Selecting Static Text.
My Font settings:
Step Three: Creating the Circle's Colour
The gray colour of the circle is actually a separate object to the actual circle! This is because the circle is actual a Mask and a Mask is a transparent shape.
Note: Sometimes the Rectangle Tool hides under the PolyStar Tool:
The rectangle's fill goes 'Dotty' when selected.
I selected a gray: #666666
![]()
Important: The colour of the rectangle fill must be different to the Movie's background colour!
If a second background colour is not made you would not see the shape of the circle. Have a look at the Movie Again:
My Example: Download the Flash file Beg 006a
The gray rectangle becomes masked by the circle.
Step Four: Creating the Circle Symbol
The circle is animated using a standard Motion Tween. This means that you need to create a symbol to Tween.
Cross Ref: See the tutorial: Motion Tweening
Tip: To constrain the Oval Tool to drawing exact circles hold down the Shift Key whist dragging.
Circle's Stroke is highlighted.Note: The color of the circle does not matter as it will become a Mask which is a transparent shape.
The circle's now selected.Note: If the circle is not the correct size use the Free Transform Tool
to change it's size. Don't forget to return to the Selection Tool:
New Circle Symbol.
Step Five: Animating the Circle
The circle starts it's animation on the left of Stage so the first thing to do is place it correctly:
Align To Stage is On when the To Stage icon has a white background:
The circle is now to the left of the Stage.
Frame 60 is selected.
There is now a copy of Frame 1 on Frame 60.
Note: the Align to Stage button should still be selected:
Your Movie should look similar to this:
Nearly there!Note: The gray background and text blinks and then disappears! That will soon be resolved.
Frame 60 of the background Layer is selected.
Note: Your background should re-appear.
Step Six: Creating the Mask
Note that when you create a Mask the Layers become automatically locked. The lock icon
appears next to the Layer labels. If you wish to edit the Layers you will need to unlock the Layers by clicking on the lock icon
. The Mask will appear to be gone, in actual fact if you test the Movie you will find that the status of the lock make s no difference in the final Movie. To make the Mask appear again (in edit mode) re-lock the Layers.
See how the Layers are now lockedand the Layer Symbols have now changed from:
to:
Here is an example of a Movie with multiple masks:
My Example: Download the Flash file Beg 006b
Movie with multiple Masks
Have fun with your Masks. They are really easy to do! At least I hope they are now you have done this tutorial!
|
•
30514 visitors to this page since 14 Nov 06 |
|
|
Webwasp is Phil Schulz's baby. You are welcome to contact me or become my Facebook friend:
Click here
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.
|