FancyUpload javascript alert error fix
3Many of you, like me, found this great tool at http://digitarald.de/project/fancyupload/ gives you a javascript alert box that says “error” after clicking one of the “browse” links if you have Flash 10. Flash 10 breaks all Flash-based upload solutions that control a hidden flash-object with JavaScript. Even my wordpress blog, which uses a flash upload, doesn’t work anymore. I will have to install an update of wordpress to make it work again.
There are two ways to fix this. One is to back down to Flash 9 and the second is to implement the fixes Herald has come up with for this issue. My implementation of FancyUpload deviated from Herald’s demo install, so rather than start from scratch again, I updated fixes file by file and line by line. It’s a fairly quick fix that I’ll go over below.
Herald’s updated and fixed demo is here http://digitarald.de/project/fancyupload/2-0/showcase/photoqueue-fixed/ and the current version can be downloaded at github http://github.com/digitarald/digitarald-fancyupload/tree/master.
The changes -
- Replace the following files with updated versions
- FancyUpload2.js
- Fx.ProgressBar.js
- Swiff.Uploader.js
- Swiff.Uploader.swf
- script.js
- The xhtml will need to be updated as well. Change the following line
<a id="demo-browse-images" href="#">Browse Only Images</a> |
to
<input id="demo-select-images" type="checkbox" /> Images Only |
Hope this helps others who have implemented and rely on this tool. All credit for the solution and fix goes to Herald.

Hi I'm Nick Bartlett and thanks for visiting my blog. I'm not much of a writer; many of my posts are short and to the point while others are meant to be a reference for myself and other web developers.
Hi! do you made this fix work? I have tryed without victory! When i click in browse file nothing happends!
If youll have a package of this fix working to share with me that will be excelent!
TNK’S!
Hey,
I get the same problem as ‘shanky’; after uploading the new files nothing happens when I click on ‘browse’.
Any ideas? Thanks.
Are there any JavaScript errors? Install the firebug plugin for firefox and it’ll tell you if there are JavaScript errors.