ActionScript Project
Project Home
About Project


Programming Projects
Game Projects
Web Programming Projects
Robotic Projects
D2D Map Editor

Other Projects

 

Latest Update! (12/11/2005)

- Flash ActionScript-
Basketball Dynamic Interactive System


What is the purpose of this project?

This basketball dynamic interactive animation project is created using Macromedia Flash and ActionScript. It is my first attempt of writing a complex ActionScript dynamic interactive system.

Brief description for this project

This project is created using Macromedia Flash ActionScript. You can drag and throw the basketball on the stage, the velocity of the ball depends on how "hard" the user throw it. The gravity will pull the ball down to the y-axis, and the friction on the x-axis will slow the ball down when it rolls on the floor. The ball will be at rest when the ball's velocity is cancelled out by its opposite direction, they are the gravity at the negative y-axis and the friction on the floor at the negative x-axis compared to the ball's x and y velocities. You can change the gravity and see how the ball react to the change of the gravity. 1 means 100% of the earth's gravity. You can drag the two magnet blocks from the left side and balls from the left side of the stage onto the stage. The blocks are static and they dont' move, but the balls are similar to the basketball which will bounce when collide with the blocks and walls.

1