XML.toString()
771
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),
XML.toString()
outputs the
document’s XML declaration (stored in
XML.xmlDecl
), followed by the document’s
DOCTYPE
declaration (stored in
XML.docTypeDecl
), followed by the text representation of all XML nodes
in the object. The XML declaration is not output if
XML.xmlDecl
is undefined. The
DOCTYPE
declaration is not output if
XML.docTypeDecl
is undefined.
Summary of Contents for FLASH MX 2004 - ACTIONSCRIPT
Page 1: ...ActionScript Reference Guide...
Page 8: ...8 Contents...
Page 12: ......
Page 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Page 54: ...54 Chapter 2 ActionScript Basics...
Page 80: ...80 Chapter 3 Writing and Debugging Scripts...
Page 82: ......
Page 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Page 112: ......
Page 120: ...120 Chapter 6 Using the Built In Classes...
Page 176: ......
Page 192: ...192 Chapter 10 Working with External Data...
Page 202: ...202 Chapter 11 Working with External Media...
Page 204: ......
Page 782: ...782 Chapter 12 ActionScript Dictionary...
Page 793: ...Other keys 793 221 222 Key Key code...
Page 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Page 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Page 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Page 816: ...816 Index...