Flash
  Home arrow Flash arrow Page 2 - 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 - Working with Defined Paths


    (Page 2 of 4 )

    Sometimes you want your animation to follow a specific path, something more complex than mere bouncing balls or side-to-side, up-and-down motion. Maybe you have a bee that you want to maliciously swarm around someone's photo. Not a problem. We could even get it to sting if we wanted to. (And you better believe we want to).

    To get our rectangle to move along a defined path, we start off by creating a simple tween. Use your rectangle symbol and insert it into frame one. Make frame eighty your keyframe, just so we have some room to play around with. Next, create a motion tween in one of the frames between. Now that we have done that, the next step is to create our Defined Path.

    Right click on your layer (the layer is where it says Layer 1) and choose Add Motion Guide. Now highlight the first frame of this motion guide layer and select your Pencil tool from the Toolbar Pane. Next, draw a path you wish for your object to follow; go ahead and go nuts. Make it real crazy.

    Next, click on your Layer 1, and click inside the first frame. Drag your rectangle to the beginning of the path. Next, click the final frame, and drag your rectangle to the end of your path.

    Note: If your pencil line is set to a color, it will be visible. To change this, select your pencil line and change the Alpha in the Property Inspector to 0 (making it transparent).

    Now click back in the first frame of your Layer 1, and press Enter. Your button should follow whatever wacky path you set for it.


    My User-Defined Path Before I Changed the Pencil Line to Transparent

    More Flash Articles
    More By James Payne


       · 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