03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

For information on the following methods <strong>and</strong> properties, see the XMLNode class:<br />

appendChild(), attributes, childNodes, cloneNode(), firstChild, hasChildNodes(),<br />

insertBefore(), lastChild, nextSibling, nodeName, nodeType, nodeValue,<br />

parentNode, previousSibling, removeNode(), toString()<br />

In earlier versions of the ActionScript Language Reference, the methods <strong>and</strong> properties above<br />

were documented in the XML class. They are now documented in the XMLNode class.<br />

Note: The XML <strong>and</strong> XMLNode objects are modeled after the W3C DOM Level 1<br />

recommendation: http://www.w3.org/tr/1998/REC-DOM-Level-1-19981001/level-onecore.html.<br />

That recommendation specifies a Node interface <strong>and</strong> a Document interface. The<br />

Document interface inherits from the Node interface, <strong>and</strong> adds methods such as<br />

createElement() <strong>and</strong> createTextNode(). In ActionScript, the XML <strong>and</strong> XMLNode<br />

objects are designed to divide functionality along similar lines.<br />

See also<br />

appendChild (XMLNode.appendChild method), attributes (XMLNode.attributes<br />

property), childNodes (XMLNode.childNodes property), cloneNode<br />

(XMLNode.cloneNode method), firstChild (XMLNode.firstChild property),<br />

hasChildNodes (XMLNode.hasChildNodes method), insertBefore<br />

(XMLNode.insertBefore method), lastChild (XMLNode.lastChild property),<br />

nextSibling (XMLNode.nextSibling property), nodeName (XMLNode.nodeName<br />

property), nodeType (XMLNode.nodeType property), nodeValue (XMLNode.nodeValue<br />

property), parentNode (XMLNode.parentNode property), previousSibling<br />

(XMLNode.previousSibling property), removeNode (XMLNode.removeNode method),<br />

toString (XMLNode.toString method)<br />

Property summary<br />

Modifiers Property Description<br />

676 ActionScript classes<br />

contentType:String The MIME content type that is sent to the server<br />

when you call the XML.send() or<br />

XML.sendAndLoad() method.<br />

docTypeDecl:String Specifies information about the XML document's<br />

DOCTYPE declaration.<br />

ignoreWhite:Boolean Default setting is false.<br />

loaded:Boolean Indicates if the XML document has successfully<br />

loaded.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!