Classes: Using Pre-written ActionScript

Get Adobe Flash player

The GravBall class will make an object bounce up and then fall back down. It will restart whereever it started.

Download the GravBall.as file and save it to you computer in the "MyClasses" folder. Use it the same way that you used the Spinner class.

NEXT: Water Class