MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 220

Server-side actionscript language reference
Table of Contents

Advertisement

For more information about the XMLStreams class, see
"XMLStreams class" on page
227.
Example
The following example creates an XMLSocket object:
var socket = new XMLSocket("flash");
The following example creates an XMLStreams object:
var stream = new XMLSocket("stream");
XMLSocket.close()
Availability
Flash Media Server 2.
Usage
myXMLSocket.close()
Parameters
None.
Returns
Nothing.
Description
Method; closes the connection specified by the XMLSocket object.
Example
The following simple example creates an XMLSocket object, attempts to connect to the
server, and then closes the connection:
var socket = new XMLSocket();
socket.connect(null, 2000);
socket.close();
See also
XMLSocket.connect()
220
Server-Side ActionScript Language Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash media server 2

Table of Contents