EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 762

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...
762 Chapter 12: ActionScript Dictionary
XML.ignoreWhite
Availability
Flash Player 5.
Usage
my_xml.ignoreWhite = boolean
XML.prototype.ignoreWhite = boolean
Parameters
boolean
A Boolean (true or false) value.
Description
Property; default setting is false. When set to true, text nodes that contain only white space are
discarded during the parsing process. Text nodes with leading or trailing white space are
unaffected.
Usage 1: You can set the
ignoreWhite property for individual XML objects, as in the
following code:
my_xml.ignoreWhite = true
Usage 2: You can set the default ignoreWhite property for XML objects, as in the
following code:
XML.prototype.ignoreWhite = true
XML.insertBefore()
Availability
Flash Player 5.
Usage
my_xml.insertBefore(childNode, beforeNode)
Parameters
childNode
The node to be inserted.
beforeNode The node before the insertion point for the childNode.
Returns
Nothing.
Description
Method; inserts a new child node into the XML objects child list, before the beforeNode node.
If the
beforeNode parameter is undefined or null, the node is added using appendChild(). If
beforeNode is not a child of my_xml, the insertion fails.

Table of Contents

Related product manuals