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

Actionscript 2.0 language reference
Table of Contents

Advertisement

getBytesTotal (XML.getBytesTotal method)

public getBytesTotal() : Number
Returns the size, in bytes, of the XML document.
Availability: ActionScript 1.0; Flash Player 6
Returns
- An integer.
Number
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
the properties of the object (each containing a node) match the values of the
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
,
, and
. Each of these properties is an XMLNode that has the matching
41
42
IT
example, the
property of the
IT
.
property for this XML object is an Object with three properties:
object is this node:
idMap
attribute assigned. The names of
id
attributes.
id
value. For
id
XML
1295

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents