User Guide

XML class 205
if(src != undefined) {
this.parseXML(src);
this.loaded = true;
this.onLoad(true);
}
else {
this.onLoad(false);
}
}
myXml.onLoad = function(success) {
}
myXml.load("http://weblogs.macromedia.com/mxna/xml/
rss.cfm?query=byMostRecent&languages=1");
See also
LoadVars.onHTTPStatus, XML.send(), XML.sendAndLoad()
XML.onLoad
Availability
Flash Media Server 2.
Usage
my_xml.onLoad = function (success) {}
Parameters
success A Boolean value that is true if the XML object successfully loads with a
XML.load() or XML.sendAndLoad() operation; false otherwise.
Returns
Nothing.
Description
Event handler; invoked by Flash Media Server when an XML document is received from the
server. If the XML document is received successfully, the
success parameter is true. If the
document was not received, or if an error occurred in receiving the response from the server,
the
success parameter is false. The default implementation of this method is not active. To
override the default implementation, you must assign a function that contains custom actions.