MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 170

Server-side actionscript language reference
Table of Contents

Advertisement

Description
Constructor; creates a new XML object. You must use the constructor to create an XML
object before you call any of the XML class methods.
Use the
createElement()
nodes to an XML document tree.
Example
The following example creates a new, empty XML object:
var my_xml = new XML();
The following example creates an XML object by parsing the XML text specified in the
parameter and populates the newly created XML object with the resulting XML
source
document tree:
var other_xml = new XML("<state name=\"California\"><city>San Francisco</
city></state>");
See also
XML.createElement()
XML.addRequestHeader()
Availability
Flash Media Server 2.
Usage
my_xml.addRequestHeader(headerName, headerValue)
my_xml.addRequestHeader(["headerName_1", "headerValue_1" ...
"headerName_n", "headerValue_n"])
Parameters
A string that represents an HTTP request header name.
headerName
A string that represents the value associated with
headerValue
Returns
Nothing.
170
Server-Side ActionScript Language Reference
and
createTextNode()
,
XML.createTextNode()
methods to add elements and text
headerName
.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents