Flash CS3 Documentation |
|||
| Developing Flash Lite 1.x Applications > Creating Interactivity and Navigation | |||
Macromedia Flash Lite 1.0 and Flash Lite 1.1 software from Adobe support user interaction through the device's keypad, or through a stylus or touch-screen interface on devices that provide one.
There are two ways to add key-based interactivity to a Flash Lite application. You can use the Flash Lite default tab navigation, or you can create a custom key-based navigation system.
Tab navigation functions the same way in Flash Lite as it does in Flash desktop applications, where the Tab and Shift+Tab keys let users navigate between objects on the screen. In Flash Lite, the device's four-way arrow keys serve the same purpose as the Tab and Shift+Tab keys. Tab navigation in Flash Lite works only with buttons and input text fields; it is typically best used for simple user interactions, such as menus. For more information, see Using tab navigation in Flash Lite.
Instead of using tab navigation, you can use custom key navigation. In this case, your application handles keypress events that Flash Lite generates in response to a user pressing a key on their device, and then takes the appropriate action. You would use this type of navigation, for example, if you're creating a Flash Lite game or other application whose interaction model is more complex than that of a simple menu.
This chapter contains the following topics:
Flash CS3