EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 775

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 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...
XMLSocket class 775
Method summary for the XMLSocket class
Event handler summary for the XMLSocket class
Constructor for the XMLSocket class
Availability
Flash Player 5.
Usage
new XMLSocket()
Parameters
None.
Returns
Nothing.
Description
Constructor; creates a new XMLSocket object. The XMLSocket object is not initially connected
to any server. You must call XMLSocket.connect() to connect the object to a server.
Method Description
XMLSocket.close() Closes an open socket connection.
XMLSocket.connect() Establishes a connection to the specified server.
XMLSocket.send() Sends an XML object to the server.
Event handler Description
XMLSocket.onClose() An event handler that is invoked when an XMLSocket connection
is closed.
XMLSocket.onConnect() An event handler that is invoked by Flash Player when a connection
request initiated through
XMLSocket.connect() has succeeded or failed.
XMLSocket.onData() An event handler that is invoked when an XML message has been
downloaded from the server.
XMLSocket.onXML() An event handler that is invoked when an XML object arrives from
the server.

Table of Contents

Related product manuals