18 July 2010
A less common way of collecting user input is by evaluating clicks on the Stage to signal a change in position. This approach is particularly useful when guiding a character in a game or an avatar to a specific point on the screen.
This sample demonstrates an animation whose path is controlled by clicks on the Stage. Click the Stage to see the animation move toward the click point. Click the buttons to the left to change the behavior of the animation.