Many 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> | |
<a id="demo-browse-images" href="#">Browse Only Images</a> |
to
<input id="demo-select-images" type="checkbox" /> Images Only | |
<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.