EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Hasembeddedvideo (Capabilities.hasembeddedvideo Property); Hasime (Capabilities.hasime Property); Hasmp3 (Capabilities.hasmp3 Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 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...
capabilities (System.capabilities) 409
hasEmbeddedVideo
(capabilities.hasEmbeddedVideo property)
public static hasEmbeddedVideo : Boolean [read-only]
A Boolean value that is true if the player is running on a system that supports embedded
video;
false otherwise. The server string is EV.
Availability: ActionScript 1.0; Flash Player 6,0,65,0
Example
The following example traces the value of this read-only property:
trace(System.capabilities.hasEmbeddedVideo);
hasIME (capabilities.hasIME property)
public static hasIME : Boolean [read-only]
Indicates whether the system has an input method editor (IME) installed. A value of true
indicates that the player is running on a system that has an IME installed; a value of
false
indicates that no IME is installed. The server string is
IME.
Availability: ActionScript 1.0; Flash Player 8
Example
The following example sets the IME to
ALPHANUMERIC_FULL if the player is running on a
system that has an IME installed.
if(System.capabilities.hasIME) {
trace(System.IME.getConversionMode());
System.IME.setConversionMode(System.IME.ALPHANUMERIC_FULL);
trace(System.IME.getConversionMode());
}
hasMP3 (capabilities.hasMP3 property)
public static hasMP3 : Boolean [read-only]
Specifies if the system has a MP3 decoder. A Boolean value that is true if the player is
running on a system that has an MP3 decoder;
false otherwise. The server string is MP3.
Availability: ActionScript 1.0; Flash Player 6
Example
The following example traces the value of this read-only property:
trace(System.capabilities.hasMP3);

Table of Contents

Related product manuals