+1  A: 

I believe the response sent back is:

 function UploadComplete(event, queueID, fileObj, response, data) { }

Response would obviously be whatever you're returning. In my case it was a flickrphotoID because my uploadify script was uploading the file to Flickr then waiting for the ID.

If your response is a json object, then you'll need to parse it out.

Jack Marchetti
A: 

the onComplete is sending four arguments. So you function should be like this one:

onComplete: function(event, queueID, fileObj, response, data) {
    alert(response.responseText);
    return false;
},

The return false is needed to avoid to trigger the default function.

Lorenzo
that doesn't seem to be working. doesn't do anything no error, etc...
TheExit
I can assure that this is working in my code :)
Lorenzo
Maybe rails isn't sending back the right response? I have it harded coded. Uploadify wants JSON right? render :json => { :result => 'success', :album_id => 31313113 }
TheExit
Sorry! you should use `alert(response.responseText)`
Lorenzo
If you returns JSON data then you have to parse. But if you just return the album id as a value then this code works
Lorenzo