User Guide
306 ActionScript classes
Example
The following example traces the value of this read-only property:
trace(System.capabilities.hasAudio);
hasAudioEncoder (capabilities.hasAudioEncoder
property)
public static hasAudioEncoder : Boolean [read-only]
Specifies if the Flash Player can encode an audio stream. A Boolean value that is true if the
player can encode an audio stream, such as that coming from a microphone;
false otherwise.
The server string is
AE.
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.hasAudioEncoder);
hasCMIDI (capabilities.hasCMIDI property)
public static hasCMIDI : Boolean [read-only]
Returns true if the mobile device can play sound data in the CMIDI audio format.
Otherwise,this property returns
false.
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example traces the value of this read-only property:
trace(System.capabilities.hasCMIDI);
hasCompoundSound
(capabilities.hasCompoundSound property)
public static hasCompoundSound : Boolean [read-only]
Returns true if the Flash Lite player can process compound sound data. Otherwise, it returns
false.
Availability: ActionScript 1.0; Flash Lite 2.0