Home arrow Flash arrow Page 4 - Advanced Flash Animation
FLASH

Advanced Flash Animation


In the last tutorial we learned how to make a ball bounce. Big whoop. While this might entertain your two-year-old son, your nine-year-old dog, or your 90-year-old grandfather (it might actually give him a heart attack if you use the right combination of colors), it really is for the amateurs. In this tutorial we are going to get sued by Emeril Lagasse and WHAM! Kick it up a notch.

Author Info:
By: James Payne
Rating: 4 stars4 stars4 stars4 stars4 stars / 22
October 09, 2007
TABLE OF CONTENTS:
  1. · Advanced Flash Animation
  2. · Working with Defined Paths
  3. · Masking
  4. · It's Better to Burn Out Than to Fade Away

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Advanced Flash Animation - It's Better to Burn Out Than to Fade Away
(Page 4 of 4 )

Maybe you've seen those movie trailers where the guy has the crazy deep voice and the screen is pitch black and words fade in and out of the screen. Usually these movies are trying to be the next Silence of the Lambs or Seven. And there are always three teenagers sitting next to you talking. At least until you stick your hand in their popcorn bucket and they move to another row.

You can create a similar effect in Flash. Simply create a new file. Select the Text tool, and insert a line of text. I used Gorilla. You can use whatever you like. Next, convert the text to a graphic symbol. Then create a keyframe in frame forty. Click on the word you created, and in the Property Inspector, under the color drop-down list, choose Alpha and set its percentage to 0%. This controls the transparency of the symbol. Finally, insert a motion tween somewhere between frame one and forty. All that is left is to sit back and watch your text slowly fade away.

Fading Text on the Go

Next we are going to learn how to mix the Fade effect with a Tween. To do this, create a new file. Insert some text on the left hand side of the stage. Next, convert the text to a symbol. Then insert a keyframe in frame forty, and drag the text to the right hand side of the stage. Look in the Property Inspector pane and change the color of the symbol to Alpha, and the alphas to 0%. Finally, insert a motion tween between frame one and forty. Your movie should show your text floating across the screen and gradually fading.

Mighty Morphing Rectangles

So far all we've looked at are motion tweens. Sometimes moving an object from one point to the next just isn't enough. Remember all the damage we did to your dear old grandpa with our motion tweens? Well now it's time to get grandma. That's right; no more cookies for you after this.

Shape tweens allow you to morph one shape or object into another. The downside to shape tweens is that you can't use them on symbols (well, you can, but you have to break the symbol apart first, at which point it ceases to be a symbol).

To do a shape tween, open a new file. Select the first frame and draw a rectangle in it. Next, insert a keyframe at point forty-five. Delete the rectangle (taking note of its exact position) and draw a circle where it used to be. Finally, click on the first frame and choose Shape from the Tweening pull-down menu located on the Property Inspector.

Your object should now magically morph from a rectangle to a circle. That's sure to amaze your grandma more than the 1932 World's Fair.

A Brief Note About Onion Skinning



In most instances, I wouldn't recommend onion skinning; it makes your eyes teary, smells funny, and your girlfriend won't want to kiss you. In Flash however, onion skinning won't make you cry. In fact, it'll save you quite a few tears. It works by showing you several frames at once, which is useful if you are creating animation and trying to line up your drawing with the previous frames). To use it, simply click on the Onion Skin button.

That concludes the third part in our series. Look for future tutorials on how to build websites and games using Flash CS3.


DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

blog comments powered by Disqus
FLASH ARTICLES

- More Top Flash Game Tutorials
- Top Flash Game Tutorials
- Best Flash Photo Gallery Tutorials
- The Top Flash Tutorials for Menus
- 7 Great Flash Tutorials
- Adobe Creative Suite 5.5 Now Available
- Critical Flash Vulnerability Heats Up the Web
- More on Nonpersistent Client-Side Remote Sha...
- Nonpersistent Client-Side Remote Shared Obje...
- Using the Decorator Pattern for a Real Web S...
- Using Concrete Decorator Classes
- Delving More Deeply into the Decorator Patte...
- The Decorator Pattern in Action
- A Simple Decorator Pattern Example
- Decorator Pattern

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 10 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials