all groups > flash actionscript > march 2008 >
You're in the

flash actionscript

group:

Does LoadVars onLoad timeout?


Does LoadVars onLoad timeout? burnquist
11/1/2006 6:30:12 PM
flash actionscript:
Does LoadVars onLoad timeout?
Or does it wait until there is a response from the server?
Re: Does LoadVars onLoad timeout? mansonet
11/1/2006 6:52:43 PM
Hi. For a response of the status on the Server you have the event
"onHTTPStatus" in LoadVars Class.
Bye.

var myLoadVar:LoadVars= new LoadVars();

myLoadVar.onHTTPStatus = function(httpStatus:Number) {
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";
}
}
RE: Does LoadVars onLoad timeout? kosso
3/4/2008 5:32:47 AM
This does not help, as the loadVars does indeed time out after 30 seconds.

I am looking for a way to override this, as I need longer than 30 seconds.



From http://www.developmentnow.com/g/69_2006_11_0_0_843012/Does-LoadVars-onLoad-timeout.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button