1288 ActionScript classes
Method summary
Modifiers
Signature
Description
addRequestHeader
(hea
der:Object,
headerValue:String)
: Void
Adds or changes HTTP request headers (such as
Content-Type
or
SOAPAction
) sent with
POST
actions.
createElement
(name:S
tring) : 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.
parseXML
(value:Strin
g) : Void
Parses the XML text specified in the
value
parameter,
and populates the specified XML object with the
resulting XML tree.
send
(url:String,
[target:String],
[method:String]) :
Boolean
Encodes the specified XML object into an XML
document and sends it to the specified
target
URL.
sendAndLoad
(url:Stri
ng, resultXML:XML) :
Void
Encodes the specified XML object into an XML
document, sends it to the specified URL using the
POST
method, downloads the server's response, and
loads it into the
resultXMLobject
specified in the
parameters.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...