next up previous
Next: Director Example 2:Importing media Up: Multimedia Programming:Scripting (Lingo) Previous: Messages and Events

Director Example 1: Simple Animation

This example does not employ any scripting. It illustrates how easy it is to create a basic animation where a cast member (a ball graphic) is placed at different locations in the scene. We also introduce some features of Director that we have not yet met (these should be fairly straightforward to understand). Note: there are still many features of Director we will have not touched.


example1.dcr


Download This Example


The following steps achieve a simple bouncing ball animation along a path:

1.
Let us begin by creating a new movie and setting the Stage size:

2.
Now let us create a ball, using a the vector shape tool:

3.
Now let us change a few other properties of this ellipse - for us to compare these changes, we will make a copy of this cast member.
4.
Now we are going to animate the ball.

5.
Save the movie as example1.dir.

Further Animation

1. Shrinking the ball

2. Animating sprite colour

3. Animating sprite transparency --- Making the Ball Disappear

4. Animating sprite shape --- Deforming The Ball


next up previous
Next: Director Example 2:Importing media Up: Multimedia Programming:Scripting (Lingo) Previous: Messages and Events
Dave Marshall
10/4/2001