MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 776

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

Advertisement

XMLSocket.close()
Availability
Flash Player 5.
Usage
myXMLSocket.close()
Parameters
None.
Returns
Nothing.
Description
Method; closes the connection specified by XMLSocket object.
See also
XMLSocket.connect()
XMLSocket.connect()
Availability
Flash Player 5; behavior changed in Flash Player 7.
Usage
myXMLSocket.connect(host, port)
Parameters
A fully qualified DNS domain name, or an IP address in the form aaa.bbb.ccc.ddd. You
host
can also specify
null
issuing this call is running in a web browser,
details, see "Description," below.
The TCP port number on the host used to establish a connection. The port number must
port
be 1024 or higher.
Returns
A Boolean value.
Description
Method; establishes a connection to the specified Internet host using the specified TCP port
(must be 1024 or higher), and returns
successfully established. If you don't know the port number of your Internet host machine,
contact your network administrator.
If you specify
null
calling
XMLSocket.connect()
/www.yoursite.com,specifying
for www.yoursite.com.
776
Chapter 12: ActionScript Dictionary
to connect to the host server on which the SWF file resides. If the SWF file
true
for the
parameter, the host contacted will be the host where the SWF file
host
resides. For example, if the SWF file was downloaded from http:/
for the host parameter is the same as entering the IP address
null
must be in the same domain as the SWF file; for
url
or
depending on whether a connection is
false

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?

Table of Contents