User Guide
718 ActionScript classes
Properties inherited from class Object
Event summary
Constructor summary
Method summary
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)
Event Description
onData = function(src:String) {} Invoked when XML text has been completely
downloaded from the server, or when an error
occurs downloading XML text from a server.
onLoad = function(success:Boolean) {} Invoked by Flash Player when an XML
document is received from the server.
Signature Description
XML(text:String) Creates a new XML object.
Modifiers Signature Description
addRequestHeader(header:Obje
ct, headerValue:String) :
Void
Adds or changes HTTP request headers
(such as Content-Type or SOAPAction) sent
with POST actions.
createElement(name:String) :
XMLNode
Creates a new XML element with the name
specified in the parameter.
createTextNode(value:String)
: XMLNode
Creates a new XML text node with the
specified text.
getBytesLoaded() : Number Returns the number of bytes loaded
(streamed) for the XML document.
getBytesTotal() : Number Returns the size, in bytes, of the XML
document.
load(url:String) : Boolean Loads an XML document from the specified
URL, and replaces the contents of the
specified XML object with the downloaded
XML data.