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.

hasAudioEncoder (capabilities.hasAudioEncoder<br />

property)<br />

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

Specifies if the Flash Player can encode an audio stream. A Boolean value that is true if the<br />

player can encode an audio stream, such as that coming from a microphone; false otherwise.<br />

The server string is AE.<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.hasAudioEncoder);<br />

hasCMIDI (capabilities.hasCMIDI property)<br />

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

Returns true if the mobile device can play sound data in the CMIDI audio format.<br />

Otherwise, this property returns false.<br />

Example<br />

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

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

hasCompoundSound<br />

(capabilities.hasCompoundSound property)<br />

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

Returns true if the Flash Lite player can process compound sound data. Otherwise, it returns<br />

false.<br />

Example<br />

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

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

284 ActionScript classes

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

Saved successfully!

Ooh no, something went wrong!