Keys To Move Ball
This is a simple example of how you can use the keys on your keyboard to move an object on the screen. Note that for more fluid movement, this kind of movement is done within an enterFrame event and not on keyDown.
advertisement