XML.status
Availability
Flash Player 5.
Usage
my_xml.status
Description
Property; automatically sets and returns a numeric value indicating whether an XML document
was successfully parsed into an XML object. The numeric status codes and a description of each
are listed as follows:
•
0 No error; parse was completed successfully.
•
-2 A CDATA section was not properly terminated.
•
-3 The XML declaration was not properly terminated.
•
-4 The DOCTYPE declaration was not properly terminated.
•
-5 A comment was not properly terminated.
•
-6 An XML element was malformed.
•
-7 Out of memory.
•
-8 An attribute value was not properly terminated.
•
-9 A start-tag was not matched with an end-tag.
•
-10 An end-tag was encountered without a matching start-tag.
XML.toString()
Availability
Flash Player 5.
Usage
my_xml.toString()
Parameters
None.
Returns
A string.
Description
Method; 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.
For top-level XML objects (those created with the constructor),
document's XML declaration (stored in
declaration (stored in
in the object. The XML declaration is not output if
declaration is not output if
XML.xmlDecl
), followed by the text representation of all XML nodes
XML.docTypeDecl
XML.docTypeDecl
XML.toString()
), followed by the document's
is undefined. The
XML.xmlDecl
is undefined.
outputs the
DOCTYPE
DOCTYPE
XML.toString()
771
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers