EasyManua.ls Logo

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

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals