Flash Lite 2.x and 3.0 ActionScript Language Reference

has4WayKeyAS (capabilities.has4WayKeyAS property)

public static has4WayKeyAS : Boolean [read-only]

A Boolean value that is true if the Flash Lite player executes the ActionScript code associated with key event handlers that are associated with the left, right, up, and down keys. Otherwise, this property returns false.

If the value of this variable is true, when one of the four-way keys is pressed, the player first looks for a handler for that key. If none is found, Flash performs control navigation. However, if an event handler is found, no navigation action occurs for that key. In other words, the presence of a keypress handler for a down key disables the ability to navigate down.

Example

The following example traces the value of this read-only property:

 trace(System.capabilities.has4WayKeyAS);