Four-way navigation
keyboard to navigate among objects on the screen. The device's up, down, left, and right
navigation keys correspond to the four arrow keys on a computer's keyboard. Pressing a
navigation key moves the keypad focus to the object located in that direction, if one exists. If
no object exists in that direction, then the keypad focus does not change from the current
object.
The
property is not supported on devices that support four-way navigation, but
tabIndex
and
tabEnabled
Flash desktop applications.
For an example that uses four-way navigation, see the sample file named 4_way_nav.fla
located in the Samples and Tutorials/Samples/Flash Lite 2.0/ folder in the Flash installation
folder on your computer.
Four-way navigation with wraparound
navigation and two-way navigation. Like standard four-way navigation described previously,
users change keypad focus using the device's four-way navigation keys. The difference is that,
similar to two-way navigation, keypad focus "wraps around" to the object on the opposite side
of the screen. For example, in the image below, the button with the current keypad focus is
located at the bottom-right corner of the screen. If the user presses the down navigation key,
the next button to receive focus is located in the middle of the top row of buttons.
You can test the behavior of two-way and four-way navigation modes in the Flash Lite
emulator using the samples file named 2-way.fla and 4-way.fla located in the /Samples and
Tutorials/Samples/Flash Lite 2.0/ folder in the Flash installation folder on your computer.
Each sample file consists of the same three-by-three grid of buttons, as discussed previously.
The only difference between the sample files is that each FLA file is configured to target a
combination of device and Flash Lite content type that supports the navigation mode (two-
way or four-way).
in Flash Lite is similar to using the arrow keys on a desktop computer's
are, which is different from how these properties work in
tabChildren
functions like a combination of standard four-way
Next button to receive focus after
user presses down navigation key
Button with current focus
Using default navigation in Flash Lite
15
Need help?
Do you have a question about the FLASH 8-DEVELOPING FLASH LITE 2.X and is the answer not in the manual?
Questions and answers