capabilities (System.capabilities)
305
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.
Availability:
ActionScript 1.0; Flash Lite 2.0
Example
The following example traces the value of this read-only property:
trace(System.capabilities.has4WayKeyAS);
hasAccessibility (capabilities.hasAccessibility
property)
public static hasAccessibility :
Boolean
[read-only]
A Boolean value that is
true
if the player is running in an environment that supports
communication between Flash Player and accessibility aids;
false
otherwise. The server
string is
ACC
.
Note:
For Flash Lite 2.0, the value returned is always
false
.
Availability:
ActionScript 1.0; Flash Lite 2.0
Example
The following example traces the value of this read-only property:
trace(System.capabilities.hasAccessibility);
hasAudio (capabilities.hasAudio property)
public static hasAudio :
Boolean
[read-only]
Specifies if the system has audio capabilities. A Boolean value that is
true
if the player is
running on a system that has audio capabilities;
false
otherwise. The server string is
A
.
Availability:
ActionScript 1.0; Flash Lite 2.0
Summary of Contents for FLASHLITE2 ACTIONSCRIPT-LANGUAGE
Page 1: ...Flash Lite 2 x ActionScript Language Reference...
Page 22: ...22 Contents...
Page 244: ...244 ActionScript language elements...
Page 760: ...760 ActionScript classes...