here is the code for uploadify that I ma using
$(’#uploadify’).uploadify({
uploader: ‘/includes/javascript/uploadify/uploadify.swf’,
folder: ‘/clientAssets/images/’,
cancelImg: ‘/includes/javascript/uploadify/cancel.png’,
expressInstall : ‘/includes/javascript/uploadify/expressInstall.swf’,
scriptAccess: ‘always’,
multi: true,
auto: false,
buttonText : ‘Select An Image’,
removeCompleted : true,
script: ‘index.cfm?event=handlerName.function’,
scriptData: {
CFID: ‘#cookie.CFID#’,
cftoken: ‘#cookie.cftoken#’
},
fileDesc: ‘Image files’,
fileExt: ‘.jpg;.jpeg;.gif;.png;*.ico’,
sizeLimit:1024000,
//simUploadLimit : 5,
//rollover: true,
onAllComplete: ‘showFinishedLink’,
//remove the comments as needed
onCheck: function(event,data,key) {
$(’#uploadify’ + key).find(’.percentage’).text(’ - Exists’);
},
onError: function (a, b, c, d) {
alert("Error: “+d.type+”, "+d.info);
},
onAllComplete: function(event, data) {
//alert(data);
$(’#message’).html(‘Files uploaded successfully.’).fadeIn(‘slow’, function() { setTimeout(’$("#message").fadeOut(“slow”);’, 3000); });
}
});
});
The function is really just doing the file upload. I am just trying to understand the concept behind it