User Guide
1342 ActionScript classes
Constructor summary
Method summary
Methods inherited from class Object
onData =
function(src:Str
ing) {}
Invoked when a message has been downloaded from the server,
terminated by a zero (0) byte.
onXML =
function(src:XML
) {}
Invoked by Flash Player when the specified XML object containing an
XML document arrives over an open XMLSocket connection.
Signature Description
XMLSocket() Creates a new XMLSocket object.
Modifiers Signature Description
close() : Void Closes the connection specified by XMLSocket
object.
connect(url:String,
port:Number) :
Boolean
Establishes a connection to the specified Internet
host using the specified TCP port (must be 1024 or
higher), and returns true or false, depending on
whether a connection is successfully established.
send(data:Object) :
Void
Converts the XML object or data specified in the
object parameter to a string and transmits it to the
server, followed by a zero (0) byte.
addProperty (Object.addProperty method), hasOwnProperty
(Object.hasOwnProperty method), isPropertyEnumerable
(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf
method), registerClass (Object.registerClass method), toString
(Object.toString method), unwatch (Object.unwatch method), valueOf
(Object.valueOf method), watch (Object.watch method)
Event Description