Discover & Rate New Music Check out ChartVote. Promote the music you like.


SWFUpload Beta Released

swfupload.jpg SWFUpload is a flash/javascript solution for uploading files VIA the web. I've always thought that uploading files via a form has been clunky. I was excited when I found this script that fixes this area. Not only can you limit which file types that show in the choose file dialog, it will also report on the progress of the upload. I've been using my own Flash based file uploader for Indiefy for sometime now and its great to see it packaged in an easy-to-use way for others.

Features
* Only display chosen filetypes in dialog
* Upload multiple files at once by ctrl/shift-selecting in dialog
* Trigger javascript functions on start, cancel, progress and complete
* Get file information/size before upload starts
* Style upload buttons any way you want
* Do progress-bars/information using valid XHTML and CSS
* No page reloads, display uploaded files as they are finished
* Works on all platforms/browsers that has Flash support.
* Degrades gracefully to a normal html upload form if Flash or javascript isn't available

Example

JavaScript:
  1. <script type="text/javascript">
  2.  
  3.     mmSWFUpload.init({
  4.         upload_backend : "../../upload.php",
  5.         target : "SWFUpload",
  6.     });
  7.  
  8. </script>

Check it out!


3 Comments

  1. J. Nunn on November 17th, 2006

    Nice! Great timing, I've been banging my head against a wall for the last 2 days on an ASP upload--I'm moving to this ASAP...

  2. akrep on November 27th, 2006

    I want this script to select only one file to upload when selector form appears. Do anybody know how??

  3. Jake on January 19th, 2007

    I've made some changes to the Javascript that fix some ASP.Net problems with SWFUpload. I've sent them of to the developer. Hopefully he'll get time to incorporate them in to the script. See my changes at my blog

    I think to limit the upload to only one file you would have to modify the actuall flash (upload.swf) file.

Leave a Reply

RSS Feed



Recommended Sites