bit101
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Flash Player 10 Beta breaks file uploadSome clarification…
First of all, “Don’t use Flash Player 10”. Well, Flash Player versions achieve well over 90% penetration well within a year of being released, so that’s not a good long term solution.
Second… “it seems unlikely that Flash 10 will be able to do any sort of uploading of any kind.” Is just completely untrue. Adobe is not removing uploading features in Flash 10. The problem is the interaction with the SWFUpload JavaScript library. Flash 10 does not allow you to open a file browse dialog except via a direct mouse click. It is that SWFUpload tries to open the dialog indirectly that causes it to fail.
This is not something that is technically a “bug” or “broken” in Flash 10. It’s a “security feature”. In other words it’s intentional. Adobe tends to go overboard in its security measures, which tends to drive Flash developers like myself crazy in many, many more ways than this.
Long story short, it looks like SWFUpload is not going to work with Flash 10 unless Adobe backs down (could happen, but don’t hold your breath) or someone figures out a way to hack it.
There are plenty of ways around this. Embed a SWF with a button in the upload page. The button is clicked and allows you to open the file browse dialog. I’m not sure why you are using the SWFLoad library rather than just using a straight SWF.