php - what causes this error NS_ERROR_DOCUMENT_NOT_CACHED -
i'm using urlloader in flex, load url, connection aborted (monitored using httpfox plugin in firefox). simulate same instance on server not abort. when checked httpfox content has next value:
error loading content (ns_error_document_not_cached)
i've been searching net there seemed no explaination why ns_error_document_not_cached occurs. thought knowing why such error message appeared solve why connection aborted.
here part of code of sample made test on both of servers worked , did not urlloader.
private var urlloaderservice : urlloader = new urlloader(); function initializedata():void { var parameters : urlvariables = new urlvariables(); var requests : urlrequest = new urlrequest(); parameters.param1="param1"; parameters.param2="param2"; parameters.param3="param3"; requests.data = parameters; requests.method = urlrequestmethod.post; requests.url = "/sampletest/testrequest.php?anticache="+math.random(); urlloaderservice.addeventlistener(event.complete, successresult); urlloaderservice.load(requests); }
php actionscript-3 flex firefox
No comments:
Post a Comment