MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 778

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

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
A Boolean value indicating whether a socket connection was successfully established
success
(
or
).
true
false
Returns
Nothing.
Description
Event handler; invoked by Flash Player when a connection request initiated through
XMLSocket.connect()
parameter is
true
The default implementation of this method performs no actions. To override the default
implementation, you must assign a function containing your own actions.
778
Chapter 12: ActionScript Dictionary
has succeeded or failed. If the connection succeeded, the
; otherwise the
success
parameter is
.
false
success

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents