Nextsibling (Xmlnode.nextsibling Property); Nodename (Xmlnode.nodename Property) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

nextSibling (XMLNode.nextSibling property)

public nextSibling :
An XMLNode value that references the next sibling in the parent node's child list. This
property is
if the node does not have a next sibling node. This property cannot be used
null
to manipulate child nodes; use the
methods to manipulate child nodes.
Availability: ActionScript 1.0; Flash Lite 2.0
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
firstChild (XMLNode.firstChild property)
,
method)
insertBefore (XMLNode.insertBefore method)
(XMLNode.removeNode method)

nodeName (XMLNode.nodeName property)

public nodeName :
A string representing the node name of the XML object. If the XML object is an XML
element (
nodeType == 1
XML file. For example,
a text node (
nodeType == 3
Availability: ActionScript 1.0; Flash Lite 2.0
750
ActionScript classes
XMLNode
[read-only]
appendChild()
XML.nextSibling
,
XML
String
),
is the name of the tag that represents the node in the
nodeName
is the
TITLE
nodeName
), nodeName is
,
insertBefore()
XML.firstChild
property to loop through an XML node's child
,
appendChild (XMLNode.appendChild
,
removeNode
of an HTML
TITLE
.
null
, and
removeNode()
property, and
tag. If the XML object is

Advertisement

Table of Contents
loading

Table of Contents