XML.nextSibling
Availability
Flash Player 5.
Usage
my_xml.nextSibling:XMLNode
Description
Read-only property; an XMLNode value that references the next sibling in the parent node's child
list. This property is
used to manipulate child nodes; use the
methods to manipulate child nodes.
Example
The following example is an excerpt from the example for the
shows how you can use the
nodes:
for (var aNode:XMLNode = rootNode.firstChild; aNode != null; aNode =
aNode.nextSibling) {
trace(aNode);
}
See also
XML.appendChild(), XML.insertBefore(), XML.removeNode(),
if the node does not have a next sibling node. This property cannot be
null
appendChild()
XML.nextSibling
,
insertBefore()
XML.firstChild
property to loop through an XML node's child
, and
removeNode()
property, and
XMLNode class
XML.nextSibling 1037
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers