Introduction to ActionScript3
We will create a movie with a ball that moves. We will add ActionScript to make the ball stop.
- Start a new flash movie.
- Draw a ball and make it a movie clip named Ball.
- Add some motion tween so that the ball moves from the top left to the bottom right.
- Add a layer named actionscript as the top layer. At this point there is no ActionScript.
- When you run the movie the ball will move from the top-left to the bottom-right over and over.
Download the finished movie
Next: We will add ActionScript to make the ball stop.