Flash
  Home arrow Flash arrow Page 5 - Flash 101 (part 3): Bouncing Around
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
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

Flash 101 (part 3): Bouncing Around
By: icarus, (c) Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 12
    2000-12-27

    Table of Contents:
  • Flash 101 (part 3): Bouncing Around
  • For The Cool In You
  • The Colour Purple
  • A Tint Of Scarlet
  • Taking The Scenic Route
  • Bouncing Balls
  • Zooming In
  • Curves In All The Right Places
  • Taking A Hint...Or Two...Or Three

  • 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

    The Web Buyer's Guide is your best source for white papers on a wide range of IT products and services. This Week's Featured White Papers: Taming the Threat Landscape by Symantec

    Flash 101 (part 3): Bouncing Around - Taking The Scenic Route
    (Page 5 of 9 )

    By default, Flash chooses the shortest distance between the starting and ending positions of the object as the motion path. If this is not to your requirements, you also have the option of tweening motion along a path that you define.

    Let's consider a new example to illustrate this better. Open up a new Flash movie, and at frame #1, create a small dot with the Brush tool. Convert it to a graphic symbol.



    Next, move to frame #25, insert a new keyframe and move the dot to the other end of the stage.



    Create a motion tween and play the clip - your dot will travel horizontally across the Stage, since that's the shortest distance between the two positions.



    To add your own motion path, right-click the layer containing the dot, and use the "Add Motion Guide" command to add a new motion guide layer - this layer will hold the path for motion path for your tween.



    Draw the path that you'd like the symbol to traverse with the Pen, Pencil, Brush or Pen tool.



    Note that you need to "snap" the symbol to the beginning and end of the motion path after you're done - you can do this by selecting the symbol with the Arrow tool and dragging it to the appropriate end-point of the path until the symbol's "registration point" (the little hollow dot in the center) snaps to the end-point of the path. When you play the clip again, the dot should travel along the path you've just created.



    You can choose to have either the baseline of the symbol, and/or its registration point, oriented towards the motion path, by selecting the "Orient To Path" and "Snap" options respectively in the Frame panel.

    This article copyright Melonfire 2000. All rights reserved.

    More Flash Articles
    More By icarus, (c) Melonfire


     

       

    FLASH ARTICLES

    - Building Web Forms In Flash
    - Building Data-Driven Flash Movies
    - Flash 101 (part 6): The Final Countdown
    - Flash 101 (part 5): Spiralling Out Of Control
    - Flash 101 (Part 4): Don't Touch Me!
    - Flash 101 (part 3): Bouncing Around




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway