Macromedia flash 8-developing flash lite 2.x applications Manual De Usuario
7
1
CHAPTER 1
Creating Interactivity and
Navigation
Navigation
Macromedia Flash Lite 1.0 and Flash Lite 1.1 support user interaction through the device’s
keypad, or through a stylus or touch-screen interface on devices that provide one.
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.
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
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
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.
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:
Keys supported by Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Using tab navigation in Flash Lite. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Handling key events (Flash Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Handling button events (Flash Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Using the soft keys (Flash Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Using tab navigation in Flash Lite. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Handling key events (Flash Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Handling button events (Flash Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Using the soft keys (Flash Professional Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26