User Guide
XML 1295
getBytesTotal (XML.getBytesTotal method)
public getBytesTotal() : Number
Returns the size, in bytes, of the XML document.
Availability: ActionScript 1.0; Flash Player 6
Returns
Number - An integer.
Example
See example for
XML.getBytesLoaded().
See also
getBytesLoaded (XML.getBytesLoaded method)
idMap (XML.idMap property)
public idMap : Object
An object containing the XML file's nodes that have an id attribute assigned. The names of
the properties of the object (each containing a node) match the values of the
id attributes.
Consider the following XML object:
<employee id='41'>
<name>
John Doe
</name>
<address>
601 Townsend St.
</address>
</employee>
<employee id='42'>
<name>
Jane Q. Public
</name>
</employee>
<department id="IT">
Information Technology
</department>
In this example, the idMap property for this XML object is an Object with three properties:
41, 42, and IT. Each of these properties is an XMLNode that has the matching id value. For
example, the
IT property of the idMap object is this node: