MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 1304

Actionscript 2.0 language reference
Table of Contents

Advertisement

this.httpStatus = httpStatus;
if(httpStatus < 100) {
this.httpStatusType = "flashError";
}
else if(httpStatus < 200) {
this.httpStatusType = "informational";
}
else if(httpStatus < 300) {
this.httpStatusType = "successful";
}
else if(httpStatus < 400) {
this.httpStatusType = "redirection";
}
else if(httpStatus < 500) {
this.httpStatusType = "clientError";
}
else if(httpStatus < 600) {
this.httpStatusType = "serverError";
}
}
myXml.onData = function(src:String) {
trace(">> " + this.httpStatusType + ": " + this.httpStatus);
if(src != undefined) {
this.parseXML(src);
this.loaded = true;
this.onLoad(true);
}
else {
this.onLoad(false);
}
}
myXml.onLoad = function(success:Boolean) {
}
myXml.load("http://weblogs.macromedia.com/mxna/xml/
rss.cfm?query=byMostRecent&languages=1");
See also
onHTTPStatus (LoadVars.onHTTPStatus handler)
sendAndLoad (XML.sendAndLoad method)
1304
ActionScript classes
,
load (XML.load method)
,

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents