18 July 2010
Interactivity is created by providing various options for manipulating content on the screen. The simplest approach in capturing user input is through the use of buttons. You can create custom buttons using a Button symbol, the SimpleButton class in ActionScript, or the Button component.
This sample demonstrates an animation whose path is controlled by the button clicked. Click the four direction buttons and the curve button in the center to see the results.
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.