hey!
firstly sorry for my bad english.
i've got a problem with swfupload. when the upload of one file is finished the callen php-script returnes "success" or "err|". when it returns "err|.." the script should abort now.
but it does not abort. it's finishing uploading the other files in the queue.
here is my code..
function uploadSuccess(file, serverData) {
try {
queueLoaded += file.size;
if(serverData.substring(0, 3) === "err") {
alert('stop');
this.cancelUpload();
seterr('Fehler: ' + serverData.substring(4));
}else if(serverData == "success") {
if(upserver == ""){
setstatus('FERTIG! '+serverData);
getcode4all();
}
}
} catch (ex) {
this.debug(ex);
}
}
how to make an abort?! please help me!
bye, franky