03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A Boolean value that is true if the Flash Lite player executes the ActionScript code associated<br />

with key event h<strong>and</strong>lers that are associated with the left, right, up, <strong>and</strong> down keys. Otherwise,<br />

this property returns false.<br />

If the value of this variable is true, when one of the four-way keys is pressed, the player first<br />

looks for a h<strong>and</strong>ler for that key. If none is found, Flash performs control navigation. However,<br />

if an event h<strong>and</strong>ler is found, no navigation action occurs for that key. In other words, the<br />

presence of a keypress h<strong>and</strong>ler for a down key disables the ability to navigate down.<br />

Example<br />

The following example traces the value of this read-only property:<br />

trace(System.capabilities.has4WayKeyAS);<br />

hasAccessibility (capabilities.hasAccessibility<br />

property)<br />

public static hasAccessibility : Boolean [read-only]<br />

A Boolean value that is true if the player is running in an environment that supports<br />

communication between Flash Player <strong>and</strong> accessibility aids; false otherwise. The server<br />

string is ACC.<br />

Note: For Flash Lite 2.0, the value returned is always false.<br />

Example<br />

The following example traces the value of this read-only property:<br />

trace(System.capabilities.hasAccessibility);<br />

hasAudio (capabilities.hasAudio property)<br />

public static hasAudio : Boolean [read-only]<br />

Specifies if the system has audio capabilities. A Boolean value that is true if the player is<br />

running on a system that has audio capabilities; false otherwise. The server string is A.<br />

Example<br />

The following example traces the value of this read-only property:<br />

trace(System.capabilities.hasAudio);<br />

capabilities (System.capabilities) 283

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!