You are right, I had to move the files. Well now it works fine on
every browser except IE 6. The error returned is this:
"Error: 'FancyUpload2' is undefined". This error comes up because I
try to create an object of the FancyUpload2 class.
I looked through the files to try to figure out the problem, but I'm
not got with MooTools and I can't figure it out. Here is the code:
var FancyUpload2 = new Class({
Extends: Swiff.Uploader,
.............................................
}); This is inside FancyUploader2.js
and my instance is this:
var swiffy = new FancyUpload2($('demo-status'), $('demo-list'), {
'url': $('form-demo').action,
'fieldName': 'photoupload',
'path': $('S_URL_MAIN').value + '/js/FancyUpload/
Swiff.Uploader.swf',
'onLoad': function() {
$('demo-status').removeClass('hide');
$('demo-fallback').destroy();
}
});
The files are included, that's why it works on other browsers. Thanks
for helping me!