03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

getBytesTotal (XML.getBytesTotal method)<br />

public getBytesTotal() : Number<br />

Returns the size, in bytes, of the XML document.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 6<br />

Returns<br />

Number - An integer.<br />

Example<br />

See example for XML.getBytesLoaded().<br />

See also<br />

getBytesLoaded (XML.getBytesLoaded method)<br />

idMap (XML.idMap property)<br />

public idMap : Object<br />

An object containing the XML file's nodes that have an id attribute assigned. The names of<br />

the properties of the object (each containing a node) match the values of the id attributes.<br />

Consider the following XML object:<br />

<br />

<br />

John Doe<br />

<br />

<br />

601 Townsend St.<br />

<br />

<br />

<br />

<br />

Jane Q. Public<br />

<br />

<br />

<br />

Information Technology<br />

<br />

In this example, the idMap property for this XML object is an Object with three properties:<br />

41, 42, <strong>and</strong> IT. Each of these properties is an XMLNode that has the matching id value. For<br />

example, the IT property of the idMap object is this node:<br />

1316 <strong>ActionScript</strong> classes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!