User Guide

XML class 169
Event handler summary for the XML class
Collections summary for the XML class
h
Constructor for the XML class
Availability
Flash Media Server 2.
Usage
new XML([source])
Parameters
source A string; the XML text parsed to create the new XML object.
Returns
A reference to an XML object.
Event handler Description
XML.onData Invoked when XML text has been completely downloaded from the
server or when an error occurs downloading XML text from a
server.
XML.onHTTPStatus Invoked when Flash Media Server receives an HTTP status code
from the server. This handler lets you capture and act on HTTP
status codes.
XML.onLoad Returns a Boolean value indicating whether the XML object was
successfully loaded with
XML.load() or XML.sendAndLoad().
Method Description
XML.attributes Returns an associative array that contains all the attributes of the
specified node.
XML.childNodes Read-only; returns an array that contains references to the child
nodes of the specified node.