“A script in this movie is causing Flash Player to run slowly” suppression.

“A script in this movie is causing Flash Player to run slowly”

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.

And, no, I don’t have The Herp. I just thought it was a keen metaphor.

8 Replies to ““A script in this movie is causing Flash Player to run slowly” suppression.

  1. 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.

  2. 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.

  3. 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

  4. 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.

  5. 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

Leave a Reply

Your email address will not be published. Required fields are marked *