Refresh the page to see the ball bounce once, then stop.
We created a movie with a ball that moves. Now we will add ActionScript to make the ball stop.

stop();
Experiment: Move the keyframe with the command stop(); to the first frame. The ball will not bounce at all. Try other positions.
Next: Instead of stopping, we will make the movie start from a frame other than 1.
Download the finished movie
INDEX, What is ActionScript, Important Things to Remember, Naming Movie Clips, Stop!, Live demo of the ball stop movie, Stop Again!, Play!, Self Study Questions
Next lesson: Code Snippets