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.onLoad
Availability
Flash Media Server 2.
Usage
my_xml.onLoad = function (success) {}
Parameters
A Boolean value that is
success
or
XML.load()
XML.sendAndLoad()
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
document was not received, or if an error occurred in receiving the response from the server,
the
parameter is
success
override the default implementation, you must assign a function that contains custom actions.
,
,
XML.send()
XML.sendAndLoad()
if the XML object successfully loads with a
true
operation;
. The default implementation of this method is not active. To
false
otherwise.
false
parameter is
success
. If the
true
XML class
205
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?