![MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference Download Page 1342](http://html.mh-extra.com/html/macromedia/flash-8-actionscript-2-0-language/flash-8-actionscript-2-0-language_reference_6875371342.webp)
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
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...