As the Valtrex (valacyclovir HCl) ad says, “It’s not about a cure, it’s about suppression.”
Thanks to a find by Donline poster, Pete, and a wonderfully simple (yet effective) script by Matt Kull (the Rockstar Developer), and a little guidance by Zeh, The infamous Flash plug-in alert no longer shows on The Flash File Uploader, found here. I’ve updated the .FLA and .ZIP file for you to download, or you can simply make the following changes, if you already have it installed:
Remove the stop(); on the first line of the first frame and replace it with:
_root.onEnterFrame = function() { if (this.getBytesLoaded() / this.getBytesTotal() > 0.99) { _root.onEnterFrame = function() { trace (”onEnterFrame called”); }; } };
That’s it. Let me know if you have further questions or comments.
Flash File Uploader
View the original posting and download the source files for the Flash File Uploader here.
View the original posting and download the source files for the Flash File Uploader here.
And, no, I don’t have The Herp. I just thought it was a keen metaphor.
I found a bug in your flash file uploader that showed itself in my setup. I am using PHP 5 and Apache on the backend and Safari is the browser I noticed this in. The bug had to do with onIOErrors when I would try to upload files with a space in the name. I was able to fix this bug changing the actionscript on line 133 of layer 2 frame 1 from:
upload_file(“upload.php?d=true&type=”+filetype+”&name=”
+file.name+”&size=”+file.size+”&ft=”+exts);
to
upload_file(“upload.php?d=true&type=”+filetype+”&name=
“+escape(file.name)+”&size=”+file.size+”&ft=”+exts);
Hope this helps.
I never thought people would try to upload files with spaces in the name. Thanks for pointing this out, Troy. I’ve updated the .FLA/.ZIP to include this change.
I really want to thank you guys for taking the time.
I know you put this out there for people to use and all, but as far as im concerned you have gone above and beyond the call of duty.
I want to thank you for your patience, and all of your help
Thanks! It solved a problem I had!
My pleasure, David. Glad you like it. Weird. Just noticed that my “keen metaphor” above is making the google ads on this page target Herpes sites. eek.
Hi, i publish my movie to flash player 9 version and problem disappear.
i’m trying to make the uploader work but when i try to upload a 150kb .jpg file it run slow
and the it doesn’t do a thing
help please!!!
Thanks
Hi 4g63. Glad to hear it.
Alecs, provide a link and I’ll take a look!