|
||||
© 2000 by David Karlins. All Rights Reserved.
In the first two tutorials of this series, I've provided quick examples of using animation and shape morphing to generate splash screens and animated logos. I'll assume, for the purpose of this tutorial, that you already worked your way through the first two projects, and have a basic understanding of Flash layers and frames. With that under our belts, this tutorial will explore using masking to create a unique animation effect for splash screens or logos.
Masking can be used in static graphics, but it takes on a much more dynamic role in animation. Think of yourself as a movie director, able to point a focused lens at various elements of a scene. And, able to zoom in and out as well. A mask layer in Flash functions like that movie camera, while other layers provide the "scene" being "shot" with the mask functioning as a camera.
Before we jump into this tutorial, a friendly reminder that if you need Macromedia Flash 5, you can order it here and help cover the cost of this site. And, of course, you can also pick up a discounted copy of my Complete Idiot's Guide to Flash 5 while you're here as well! You'll find the tutorials in this series closely match the topics covered in the Idiot's Guide.
To keep our example manageable, we'll use a single graphic as our bottom layer. And, again to keep the project tutorial-sized, I'll animate only the mask. After you work through this tutorial, you can feel free to enhance the project by animating the underlying layer as well.
First, I'll import the Graphics Unleashed logo as shown at right. To keep myself organized, I've renamed the layer Logo (double-click on the default name "Layer1," and type a new layer name). If you have either a bitmap or vector based graphic to use, import it into Flash now (choose File, Import, choose a file type and navigate to your file).
This "bottom" layer will become the masked layer - the one that is exposed (or hidden) by activity in the mask layer we are about to create.
First, we'll create two layers - a mask layer, and a masked layer. Then we'll create a mask object to expose part of the logo. In Flash, the mask object will look like it is covering part of the masked layer. But when the file is run as a Flash movie, the masking object will do just the opposite - it will reveal the part of the underlying image that it moves over.
Time to animate the mask layer. Here we'll achieve the effect produced when the circle moves around over the masked layer.
That's it! Your animated masking should look something like above.
You can enhance your masking effect by adding motion tweening to the Masked layer as well. Use F6 to insert some keyframes, and move the location of the logo in the new keyframes. Add motion tweening to the frames in between keyframes, and experiment. The animation at the top of this tutorial shows the animated logo with motion in both the mask, and masked layers.
Here we see selected frames indicating motion on both the mask, and masked layers. On the mask layer, the circle moves and gets larger and smaller. On the masked layer, the logo moves around underneath the moving logo. The frames below illustrate how the two layers move in relationship to each other to create a more dynamic masking impact.
Discuss the articles with David in the Graphics Unleashed Discussion Forums
Choosing a Web Authoring Tool · Eight Steps to Implementing a Web Site · Step 1: Grabbing a Domain Name · Step 2: Publishing Your Web Content - Finding a Web Server Provider · Step 3: Develop Your Web Strategy · Step 4: Design and Create Your Site · Step 5: Publish and Test Your Site · Step 6: Promoting Your Site · Part I: From CorelDRAW to the Web · Part II: Creating Web Page Background JPEG Files · Part III: Creating a Hover Button in CorelDRAW
Flash 5 Tutorial 3: Using Masking in an Animation ·
Flash 5 Tutorial 2: Creating a Logo with a Shape Transition ·
Flash 5 Tutorial 1: Create a Splash Screen
Copyright © 1995–2013 Unleashed Productions, Inc., All Rights Reserved.