03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - 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.

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

hasVideoEncoder (capabilities.hasVideoEncoder<br />

property)<br />

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

Specifies if the Flash Player can encode a video stream. A Boolean value that is true if the<br />

player can encode a video stream, such as that coming from a web camera; false otherwise.<br />

The server string is VE.<br />

Note: For Flash Lite 2.0, the value returned is always false.<br />

Example<br />

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

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

hasXMLSocket (capabilities.hasXMLSocket<br />

property)<br />

public static hasXMLSocket : Number [read-only]<br />

Indicates whether the host application supports XML sockets.<br />

If the host application supports XML sockets, this variable is defined <strong>and</strong> has a value of 1.<br />

Otherwise, this variable is not defined.<br />

imageMIMETypes (capabilities.imageMIMETypes<br />

property)<br />

public static imageMIMETypes : Array [read-only]<br />

Returns an array that contains all MIME types that the loadMovie function <strong>and</strong> the codecs<br />

for a mobile device support for processing images.<br />

Example<br />

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

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

292 ActionScript classes

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

Saved successfully!

Ooh no, something went wrong!