EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 761

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 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.hasChildNodes() 761
XML.getBytesTotal()
Availability
Flash Player 6.
Usage
XML.getBytesTotal()
Parameters
None.
Returns
An integer.
Description
Method; returns the size, in bytes, of the XML document.
See also
XML.getBytesLoaded()
XML.hasChildNodes()
Availability
Flash Player 5.
Usage
my_xml.hasChildNodes()
Parameters
None.
Returns
A Boolean value.
Description
Method; returns true if the specified XML object has child nodes; otherwise, returns false.
Example
The following example uses the information from the XML object in a user-defined function.
if (rootNode.hasChildNodes()) {
myfunc (rootNode.firstChild);
}

Table of Contents

Related product manuals