rem: function uploadError(error_code, fileObj, message) { try { var error_name = ""; switch(error_code) { case SWFUpload.ERROR_CODE_QUEUE_LIMIT_EXCEEDED: error_name = "QUEUE LIMIT EXCEEDED"; break; case SWFUpload.ERROR_CODE_HTTP_ERROR: error_name = "HTTP ERROR"; break; case SWFUpload.ERROR_CODE_MISSING_UPLOAD_TARGET: error_name = "MISSING UPLOAD TARGET"; break; case SWFUpload.ERROR_CODE_UPLOAD_FAILED: error_name = "UPLOAD FAILED"; break; case SWFUpload.ERROR_CODE_IO_ERROR: error_name = "IO ERROR"; break; case SWFUpload.ERROR_CODE_SECURITY_ERROR: error_name = "SECURITY ERROR"; break; case SWFUpload.ERROR_CODE_FILE_EXCEEDS_SIZE_LIMIT: error_name = "FILE EXCEEDS SIZE LIMIT"; break; case SWFUpload.ERROR_CODE_ZERO_BYTE_FILE: error_name = "ZERO BYTE FILE"; break; case SWFUpload.ERROR_CODE_UPLOAD_LIMIT_EXCEEDED: error_name = "UPLOAD LIMIT EXCEEDED"; break; case SWFUpload.ERROR_CODE_INVALID_FILETYPE: error_name = "INVALID FILE TYPE"; break; default: error_name = "UNKNOWN"; break; } 
add: uploadError : function (fileObj, error_code, message) { try { var error_name = ""; switch(error_code) { case SWFUpload.UPLOAD_ERROR.HTTP_ERROR: error_name = "HTTP ERROR"; break; case SWFUpload.UPLOAD_ERROR.MISSING_UPLOAD_URL: error_name = "MISSING UPLOAD URL"; break; case SWFUpload.UPLOAD_ERROR.IO_ERROR: error_name = "IO ERROR"; break; case SWFUpload.UPLOAD_ERROR.SECURITY_ERROR: error_name = "SECURITY ERROR"; break; case SWFUpload.UPLOAD_ERROR.UPLOAD_LIMIT_EXCEEDED: error_name = "UPLOAD LIMIT EXCEEDED"; break; case SWFUpload.UPLOAD_ERROR.UPLOAD_FAILED: error_name = "UPLOAD FAILED"; break; case SWFUpload.UPLOAD_ERROR.SPECIFIED_FILE_ID_NOT_FOUND: error_name = "SPECIFIED FILE ID NOT FOUND"; break; case SWFUpload.UPLOAD_ERROR.FILE_VALIDATION_FAILED: error_name = "FILE VALIDATION FAILED"; break; case SWFUpload.UPLOAD_ERROR.FILE_CANCELLED: error_name = "FILE CANCELLED";  FeaturesDemo.selQueue.value = fileObj.id; FeaturesDemo.selQueue.options[FeaturesDemo.selQueue.selectedIndex].text = fileObj.id + ":----:" + fileObj.name;; 
context: function uploadError(error_code, fileObj, message) {	try {		var error_name = "";		switch(error_code) {			case SWFUpload.ERROR_CODE_QUEUE_LIMIT_EXCEEDED:				error_name = "QUEUE LIMIT EXCEEDED";			break;			case SWFUpload.ERROR_CODE_HTTP_ERROR:				error_name = "HTTP ERROR";			break;			case SWFUpload.ERROR_CODE_MISSING_UPLOAD_TARGET:				error_name = "MISSING UPLOAD TARGET";			break;			case SWFUpload.ERROR_CODE_UPLOAD_FAILED:				error_name = "UPLOAD FAILED";			break;			case SWFUpload.ERROR_CODE_IO_ERROR:				error_name = "IO ERROR";			break;			case SWFUpload.ERROR_CODE_SECURITY_ERROR:				error_name = "SECURITY ERROR";			break;			case SWFUpload.ERROR_CODE_FILE_EXCEEDS_SIZE_LIMIT:				error_name = "FILE EXCEEDS SIZE LIMIT";			break;			case SWFUpload.ERROR_CODE_ZERO_BYTE_FILE:				error_name = "ZERO BYTE FILE";			break;			case SWFUpload.ERROR_CODE_UPLOAD_LIMIT_EXCEEDED:				error_name = "UPLOAD LIMIT EXCEEDED";			break;			case SWFUpload.ERROR_CODE_INVALID_FILETYPE:				error_name = "INVALID FILE TYPE";			break;			default:				error_name = "UNKNOWN";			break;		}		var error_string = error_name + ":File ID: " + (typeof(fileObj) == "object" && fileObj != null ? fileObj.id : "na") + ":" + message;		FeaturesDemo.selEventsError.options[FeaturesDemo.selEventsError.options.length] = new Option(error_string, "");	} catch (ex) { this.debugMessage(ex);}}
meta: 8671	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8671/2a56b232b73faf5aa2deef25fa21287940658ef0/handlers.js/clean/demos/featuresdemo/js_13/handlers.js