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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example<br />

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

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

hasMP3 (capabilities.hasMP3 property)<br />

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

Specifies if the mobile device has a MP3 decoder. A Boolean value that is true if the player is<br />

running on a system that has an MP3 decoder; false otherwise. The server string is MP3.<br />

Example<br />

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

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

hasPrinting (capabilities.hasPrinting property)<br />

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

A Boolean value that is true if the player is running on a mobile device that supports<br />

printing; false otherwise. The server string is PR.<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.hasPrinting);<br />

hasQWERTYKeyboard<br />

(capabilities.hasQWERTYKeyboard property)<br />

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

Returns true if the Flash Lite player can process ActionScript code associated with all keys<br />

found on a st<strong>and</strong>ard QWERTY keyboard, including the BACKSPACE key.<br />

Otherwise, this property returns false.<br />

288 ActionScript classes

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

Saved successfully!

Ooh no, something went wrong!