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.

To use the methods of the XMLSocket class, you must first use the constructor, XMLSocket(),<br />

to create an XMLSocket object.<br />

See also<br />

loadPolicyFile (security.loadPolicyFile method)<br />

Property summary<br />

Properties inherited from class Object<br />

constructor (Object.constructor property), __proto__ (Object.__proto__<br />

property), prototype (Object.prototype property), __resolve<br />

(Object.__resolve property)<br />

Event summary<br />

Event Description<br />

onClose = function()<br />

{}<br />

onConnect =<br />

function(success:Bool<br />

ean) {}<br />

onData =<br />

function(src:String)<br />

{}<br />

onXML =<br />

function(src:XML) {}<br />

Constructor summary<br />

Signature Description<br />

Invoked only when the server closes an open connection.<br />

An asynchronous callback that the Flash Lite player invokes when a<br />

connection request initiated through XMLSocket.connect()<br />

succeeds or fails.<br />

Invoked when a message is downloaded from the server <strong>and</strong><br />

terminated by a zero (0) byte.<br />

Invoked by the Flash Lite player when the specified XML object<br />

containing an XML document arrives over an open XMLSocket<br />

connection.<br />

XMLSocket() Creates a new XMLSocket object.<br />

XMLSocket 715

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

Saved successfully!

Ooh no, something went wrong!