210
Server-Side ActionScript Language Reference
Example
The following example is an excerpt from the example for the
XML.lastChild
property and
shows how you can use the
XML.previousSibling
property to loop through an XMLNode
object’s child nodes:
for (var aNode = rootNode.lastChild; aNode != null; aNode =
aNode.previousSibling) {
trace(aNode);
}
See also
XML.appendChild()
,
XML.insertBefore()
,
XML.removeNode()
XML.removeNode()
Availability
Flash Media Server 2.
Usage
my_xml
.removeNode()
Parameters
None.
Returns
Nothing.
Description
Method; removes the specified XML object from its parent and deletes all descendants of the
node.
NO
T
E
In Flash Media Server, the output of
trace()
statements appears in the application log
file and Application inspector.