Handling key and button events

Event handlers and event listeners specify how the application will respond to user- and system-generated occurrences. For example, when a button has focus and the user presses the select key, an onPress event is generated. In addition to using default navigation and responding to related events, a Flash Lite application can listen for and respond to keypress events.

Not all devices and content types support all device keys. For example, on a device that supports two-way navigation (see Default navigation modes) Flash Lite doesn't generate keypress events for the left and right arrow keys. For a list of keys and description of their availability, see Keys supported by Flash Lite.

This section contains the following topics:


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004668.html