EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Getbytestotal (Xml.getbytestotal Method); Idmap (Xml.idmap Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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:

Table of Contents

Related product manuals