In this tutorial, you’ll learn how to create a trail effect. The effect is quite easily accomplished and it’s very easy to modify the code to create different trail effects. Let’s get started to create this Flash CS3 movie!
Setting up the environment
1. Create a new Flash ActionScript 3.0 document of size 300×300.
2. Draw a circle of size 30×30 (you can choose the colors as you like).
3. Convert the circle into a movie clip (name doesn’t matter, registration point in the center).
4. Give the ball an instance name of “ballâ€.
5. Linkage the ball movie clip to a class called “Ballâ€.
6. Leave the ball on the stage (position doesn’t matter).