03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example<br />

The following example traces the value of this read-only property:<br />

trace(System.capabilities.hasEmbeddedVideo);<br />

hasIME (capabilities.hasIME property)<br />

public static hasIME : Boolean [read-only]<br />

Indicates whether the system has an input method editor (IME) installed. A value of true<br />

indicates that the player is running on a system that has an IME installed; a value of false<br />

indicates that no IME is installed. The server string is IME.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 8<br />

Example<br />

The following example sets the IME to ALPHANUMERIC_FULL if the player is running on a<br />

system that has an IME installed.<br />

if(System.capabilities.hasIME) {<br />

trace(System.IME.getConversionMode());<br />

System.IME.setConversionMode(System.IME.ALPHANUMERIC_FULL);<br />

trace(System.IME.getConversionMode());<br />

}<br />

hasMP3 (capabilities.hasMP3 property)<br />

public static hasMP3 : Boolean [read-only]<br />

Specifies if the system has a MP3 decoder. A Boolean value that is true if the player is<br />

running on a system that has an MP3 decoder; false otherwise. The server string is MP3.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 6<br />

Example<br />

The following example traces the value of this read-only property:<br />

trace(System.capabilities.hasMP3);<br />

hasPrinting (capabilities.hasPrinting property)<br />

public static hasPrinting : Boolean [read-only]<br />

A Boolean value that is true if the player is running on a system that supports printing;<br />

false otherwise. The server string is PR.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 6,0,65,0<br />

416 <strong>ActionScript</strong> classes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!