MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 478

Actionscript language reference
Table of Contents

Advertisement

case -4 :
errorMessage = "The DOCTYPE declaration was not properly terminated.";
break;
case -5 :
errorMessage = "A comment was not properly terminated.";
break;
case -6 :
errorMessage = "An XML element was malformed.";
break;
case -7 :
errorMessage = "Out of memory.";
break;
case -8 :
errorMessage = "An attribute value was not properly terminated.";
break;
case -9 :
errorMessage = "A start-tag was not matched with an end-tag.";
break;
case -10 :
errorMessage = "An end-tag was encountered without a matching
start-tag.";
break;
default :
errorMessage = "An unknown error has occurred.";
break;
}
trace("status: "+my_xml.status+" ("+errorMessage+")");
} else {
trace("Unable to load/parse XML. (status: "+my_xml.status+")");
}
};
my_xml.load("http://www.flash-mx.com/mm/badxml.xml");
XML.toString()
Availability
Flash Player 5.
Usage
my_xml.toString() : String
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.
478
Chapter 6: ActionScript Core Classes

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex

Table of Contents