checkObjStatus = new LoadVars();
checkObjStatus.onHTTPStatus = function(httpStatus:Number) {
this.httpStatus = httpStatus;
if(httpStatus < 400 && httpStatus != 0) {
trace(httpStatus);
} else if(httpStatus >= 400 || httpStatus == 0) {
trace("PROBLEM " + httpStatus);
}
}
checkObjStatus.sendAndLoad("someaspfile.asp",checkObjStatus,"GET");
|