MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference page 1043

Actionscript language reference
Table of Contents

Advertisement

trace("using firstChild.nodeValue:");
for (var i = 0; i<my_xml.firstChild.childNodes.length; i++) {
trace("\t"+my_xml.firstChild.childNodes[i].firstChild.nodeValue);
}
The following information is displayed in the Output panel:
using firstChild:
morton
good&amp;evil
using firstChild.nodeValue:
morton
good&evil
See also
XML.nodeType
XML.nodeValue 1043

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx

Table of Contents