1. Home
  2. Computing & Technology
  3. Animation

Ask the Magic 8-Ball: Using Flash to Create a Magic 8-Ball Application

By , About.com Guide

7 of 9

Move the dynamic text field to a new layer above the triangle. On the first frame of that layer, you’ll want to insert a basic stop, and then use the text properties of the dynamic text field (referenced in mine by instance name “balltext”) to make sure that when the movie clip loads, the text is blank:
stop() ;
_root.ballanimated.balltext.text=””;

This keeps the movie clip from playing until we tell it to, and makes sure that there’s no text visible. When the right action is triggered, the movie clip will start, and the triangle doohickey will fade in, seeming to rise from the bottom as with a real 8-ball.

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. Ask the Magic 8-Ball: Using Flash to Create a Magic 8-Ball Application

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

All rights reserved.