XMLSocket constructor

public XMLSocket()

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.

Availability: ActionScript 1.0; Flash Player 5

Example

The following example creates an XMLSocket object:

var socket:XMLSocket = new XMLSocket();