Hasaudioencoder (Capabilities.hasaudioencoder Property); Hascmidi (Capabilities.hascmidi Property); Hascompoundsound (Capabilities.hascompoundsound Property) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents