EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 778

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...
778 Chapter 12: ActionScript Dictionary
XMLSocket.onClose()
Availability
Flash Player 5.
Usage
myXMLSocket.onClose() = function() {
// your statements here
}
Parameters
None.
Returns
Nothing.
Description
Event handler; invoked only when an open connection is closed by the server. The default
implementation of this method performs no actions. To override the default implementation, you
must assign a function containing your own actions.
See also
function
, XMLSocket.onConnect()
XMLSocket.onConnect()
Availability
Flash Player 5.
Usage
myXMLSocket.onConnect(success)
// your statements here
}
Parameters
success
A Boolean value indicating whether a socket connection was successfully established
(true or false).
Returns
Nothing.
Description
Event handler; invoked by Flash Player when a connection request initiated through
XMLSocket.connect() has succeeded or failed. If the connection succeeded, the success
parameter is true; otherwise the success parameter is false.
The default implementation of this method performs no actions. To override the default
implementation, you must assign a function containing your own actions.

Table of Contents

Related product manuals