1. Home
  2. Computing & Technology
  3. Animation

Adding Animation to a Flash Popup ToolTip

By , About.com Guide

8 of 8

Last but not least, exit out of the movie clip’s timeline and return to the main timeline. Right-click on the tooltip movie clip, select Actions, and bring up the Actions that we added in the last lesson to control the rollover behavior.

For the on (rollOver) section, we had previously added a gotoAndStop(2) ; command so that the movie clip would jump to frame two to display the static tooltip and hold there until the mouse moved out. Now, however, we want the movie clip to keep playing beyond frame two to display the tooltip animation, before stopping and holding at the stop that we inserted.

To do that, just edit the gotoandStop so that it reads gotoandPlay(2) ;. Because of the extra parameter that we added (the this. to point to the current object), you may need to switch to Expert Mode to do the editing.

That should do it for adding animation to the tool-tip. Click here to take a look at the .swf file.

Explore Animation
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. Adding Animation to a Flash Popup ToolTip

©2009 About.com, a part of The New York Times Company.

All rights reserved.