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.hasEmail);<br />

hasEmbeddedVideo<br />

(capabilities.hasEmbeddedVideo property)<br />

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

A Boolean value that indicates whether the mobile device supports embedded video.<br />

Note: The hasEmbeddedVideo property is always true in Flash Lite 2.0 <strong>and</strong> Flash Lite 2.1,<br />

indicating library support for device video.<br />

Example<br />

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

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

hasMappableSoftKeys<br />

(capabilities.hasMappableSoftKeys property)<br />

public static hasMappableSoftKeys : Boolean<br />

Returns true if the mobile device allows you to reset or reassign softkey labels <strong>and</strong> h<strong>and</strong>le<br />

events from those softkeys. Otherwise, false.<br />

Example<br />

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

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

hasMFI (capabilities.hasMFI property)<br />

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

Returns true if the mobile device is capable of playing sound data in the MFI audio format.<br />

Otherwise, this property returns false.<br />

286 ActionScript classes

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

Saved successfully!

Ooh no, something went wrong!