MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference page 1041

Actionscript language reference
Table of Contents

Advertisement

var myTextNode:XMLNode = doc.createTextNode("textNode");
// place the new node into the XML tree
myNode.appendChild(myTextNode);
trace(myNode.nodeType);
trace(myTextNode.nodeType);
/*
output:
1
3
*/
See also
XML.nodeValue
XML.nodeType 1041

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx

Table of Contents