User Guide

740 ActionScript classes
Method summary
Methods inherited from class Object
appendChild (XMLNode.appendChild method)
public appendChild(newChild:XMLNode) : Void
Appends the specified node to the XML object's child list. This method operates directly on
the node referenced by the
childNode parameter; it does not append a copy of the node. If
the node to be appended already exists in another tree structure, appending the node to the
new location will remove it from its current location. If the
childNode parameter refers to a
node that already exists in another XML tree structure, the appended child node is placed in
the new tree structure after it is removed from its existing parent node.
Availability: ActionScript 1.0; Flash Lite 2.0
Modifiers Signature Description
appendChild(newChild:XMLNode) : Void Appends the specified node to the
XML object's child list.
cloneNode(deep:Boolean) : XMLNode Constructs and returns a new XML
node of the same type, name, value,
and attributes as the specified XML
object.
hasChildNodes() : Boolean Specifies whether or not the XML
object has child nodes.
insertBefore(newChild:XMLNode,
insertPoint:XMLNode) : Void
Inserts a newChild node into the
XML object's child list, before the
insertPoint node.
removeNode() : Void Removes the specified XML object
from its parent.
toString() : String Evaluates the specified XML object,
constructs a textual representation
of the XML structure, including the
node, children, and attributes, and
returns the result as a string.
addProperty (Object.addProperty method), hasOwnProperty
(Object.hasOwnProperty method), isPropertyEnumerable
(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf
method), registerClass (Object.registerClass method), toString
(Object.toString method), unwatch (Object.unwatch method), valueOf
(Object.valueOf method), watch (Object.watch method)