Accessibility

Flash sample application

Interactivity sample: Button controlled movement

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.

AlertThis content requires Flash

Download the free Flash Player now!

Get Adobe Flash Player

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.

User level: Intermediate

Requirements

To view these samples, you need the following software and files:

Flash CS4 Professional

Sample files:

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License