760 Chapter 12: ActionScript Dictionary
XML.firstChild
Availability
Flash Player 5.
Usage
my_xml.firstChild
Description
Property (read-only); evaluates the specified XML object and references the first child in the
parent node’s children list. This property is
null if the node does not have children. This
property is undefined if the node is a text node. This is a read-only property and cannot be used
to manipulate child nodes; use
appendChild(), insertBefore(), and removeNode() to
manipulate child nodes.
See also
XML.appendChild()
, XML.insertBefore(), XML.removeNode()
XML.getBytesLoaded()
Availability
Flash Player 6.
Usage
XML.getBytesLoaded()
Parameters
None.
Returns
An integer indicating the number of bytes loaded.
Description
Method; returns the number of bytes loaded (streamed) for the XML document. You can
compare the value of
getBytesLoaded() with the value of getBytesTotal() to determine what
percentage of an XML document has loaded.
See also
XML.getBytesTotal()