Flash
  Home arrow Flash arrow Page 4 - Advanced Flash Animation
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
FLASH

Advanced Flash Animation
By: James Payne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 16
    2007-10-09

    Table of Contents:
  • Advanced Flash Animation
  • Working with Defined Paths
  • Masking
  • It's Better to Burn Out Than to Fade Away

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    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.

       · In this installment, we learn to use advanced animation techniques, like Masking,...
       · this article and the others similar have literally been my tuition to design basic...
     

    FLASH ARTICLES

    - Decorator Pattern
    - Organizing Frames and Layers for Flash Anima...
    - Organizing Frames and Layers
    - Using XML and ActionScript with Flex Applica...
    - Interfaces and Events with ActionScript and ...
    - Manipulating Data with ActionScript in Flex ...
    - ActionScript Syntax for Flex Applications
    - ActionScript in Flex Applications
    - A Closer Look at Apollo`s File System API
    - Using the File System API
    - ActionScript 101
    - Flash Buttons
    - Advanced Flash Animation
    - Creating Your First Animated Movie with Flas...
    - Flash: Building Blocks






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT