MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference page 716

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

Advertisement

XML
Object
|
+-XMLNode
|
+-XML
public class XML
extends
XMLNode
Use the methods and properties of the XML class to load, parse, send, build, and manipulate
XML document trees.
You must use the constructor
of the XML class.
An XML document is represented in Flash by the XML class. Each element of the hierarchical
document is represented by an XMLNode object.
For information on the following methods and properties, see the XMLNode class:
,
appendChild()
attributes
,
insertBefore()
lastChild
,
parentNode
previousSibling
In earlier versions of the ActionScript Language Reference, the methods and properties above
were documented in the XML class. They are now documented in the XMLNode class.
Note: The XML and XMLNode objects are modeled after the W3C DOM Level 1
recommendation: http://www.w3.org/tr/1998/REC-DOM-Level-1-19981001/level-one-
core.html. That recommendation specifies a Node interface and a Document interface. The
Document interface inherits from the Node interface, and adds methods such as
and
createElement()
objects are designed to divide functionality along similar lines.
Availability: ActionScript 1.0; Flash Lite 2.0 - (became a native object in Flash Player 6,
which improved performance significantly).
716
ActionScript classes
to create an XML object before calling any method
new XML()
,
,
childNodes
,
nextSibling
,
removeNode()
. In ActionScript, the XML and XMLNode
createTextNode()
,
cloneNode()
firstChild
,
,
nodeName
nodeType
,
toString()
,
hasChildNodes()
,
,
nodeValue
,

Advertisement

Table of Contents
loading

Table of Contents