03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - 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.

Output (line breaks added for clarity):<br />

the parent node of 'username' is: login<br />

contents of the parent node are:<br />

<br />

morton<br />

good&evil<br />

<br />

See also<br />

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

method), removeNode (XMLNode.removeNode method), XML<br />

prefix (XMLNode.prefix property)<br />

public prefix : String [read-only]<br />

The prefix portion of the XML node name. For example, the node bob@example.com prefix "contact" <strong>and</strong> the local name "mailbox",<br />

which comprise the full element name "contact.mailbox".<br />

The nodeName property of an XML node object returns the full name (including the prefix<br />

<strong>and</strong> the local name). You can access the local name portion of the element's name via the<br />

localName property.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 8<br />

Example<br />

A directory contains a SWF file <strong>and</strong> an XML file. The XML file, named "SoapSample.xml"<br />

contains the following:<br />

<br />

<br />

<br />

<br />

San Francisco<br />

<br />

<br />

<br />

XMLNode 1357

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

Saved successfully!

Ooh no, something went wrong!