MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 1342

Actionscript 2.0 language reference
Table of Contents

Advertisement

Event
Description
Invoked when a message has been downloaded from the server,
onData
=
terminated by a zero (0) byte.
function(src:Str
ing) {}
Invoked by Flash Player when the specified XML object containing an
onXML
=
XML document arrives over an open XMLSocket connection.
function(src:XML
) {}
Constructor summary
Signature
XMLSocket()
Method summary
Modifiers
Signature
close() : Void
connect(url:String,
port:Number) :
Boolean
send(data:Object) :
Void
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),
1342
ActionScript classes
Description
Creates a new XMLSocket object.
Description
Closes the connection specified by XMLSocket
object.
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.
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.
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
toString
method),
valueOf

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents