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

Actionscript 2.0 language reference
Table of Contents

Advertisement

hasEmbeddedVideo
(capabilities.hasEmbeddedVideo property)
public static hasEmbeddedVideo : Boolean [read-only]
A Boolean value that is
video;
otherwise. The server string is
false
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
indicates that the player is running on a system that has an IME installed; a value of
indicates that no IME is installed. The server string is
Availability: ActionScript 1.0; Flash Player 8
Example
The following example sets the IME to
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
running on a system that has an MP3 decoder;
Availability: ActionScript 1.0; Flash Player 6
Example
The following example traces the value of this read-only property:
trace(System.capabilities.hasMP3);
if the player is running on a system that supports embedded
true
EV
ALPHANUMERIC_FULL
.
.
IME
if the player is running on a
true
otherwise. The server string is
false
capabilities (System.capabilities)
true
false
if the player is
.
MP3
409

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents