WoW Insider brings you live news from BlizzCon! | Add to My AOL , MyYahoo , Google , Bloglines

SWFUpload: Open source Flash multi-file upload

SWFUpload So you're building a web site and want users to upload files--lots of files at once. Using an ordinary HTML file dialog is easy and gets the job done, but if the user wants to upload 30 files he has to click on a "Browse..." button 30 times and select each file one at a time. Some sites, like Flickr, solved this problem with a downloadable desktop app. Others used Java applets. And then along came Flash 8, which had perhaps the most promising solution: Built-in support for uploading multiple files at once. Brilliant! However, harnessing this power was not simple--it required, for one thing, a copy of Flash MX, which ain't cheap, not to mention the actual knowledge to use it.

By now I'm sure you know where I'm going with this: SWFUpload . It's an open source Flash widget that lets you add multiple simultaneous file uploads to your web service without spending so much as a cent. It's fairly robust, allowing you to specify your own custom graphics and dimensions for the upload button, choose which file types will be allowed, as well as JavaScript callback functions for showing upload progress, errors, and so on. And like I said, it's open source, so if you do happen to have Flash MX and some skills, you can tweak the .FLA source til your heart's content. Very cool.

Related Headlines

Reader Comments

(Page 1)

1. Nice, Bubbleshare.com uses this method, it was one of their star features when they began.
I can really see this being used widely, I wonder how Adobe will feel about it.

Posted at 7:57PM on Nov 16th 2006 by BrianPeiris

2. Thats a handy Flash widget for sure! And the price is right.

Once again Open Source comes to the rescue!

Posted at 10:49PM on Nov 16th 2006 by StrangeProgress

3. A Tip:
If you need to pass variables to the script which handles the files on the backend, the only way to do it easily is to add the variables to the querystring in the init of the SWFUpload like so:

upload_backend : "../upload.php?variable=$data",

Posted at 1:36AM on Nov 17th 2006 by Alex Ezell

4. This is really cool!!!! I have been thinking on the same line but from the PHP angle but when I saw your stuff..I forgot mine!!!

The only question I have is that this flash runs on background...I want to show the file progress by %...and I am not sure how to do that...can you please suggest something on this?

Posted at 9:03PM on Dec 20th 2006 by Girish

5. There is a big problem incorporating this code into ASP.NET, since I need to use default form tag as well as the additional form tag for this code. If I remove the form tag from the target div, it gives error.

Posted at 8:13PM on Jan 8th 2007 by Raman

6. There is a big problem incorporating this code into ASP.NET, since I need to use default form tag as well as the additional form tag for this code. If I remove the form tag from the target div, it gives error.

Posted at 8:13PM on Jan 8th 2007 by Raman

Mobile Minute

View Posts By

Categories
Audio  (618)
Beta  (39)
Blogging  (484)
Business  (981)
Design  (607)
Developer  (769)
E-mail  (363)
Finance  (92)
Fun  (1346)
Games  (425)
Internet  (3005)
Kids  (101)
Office  (369)
OS Updates  (376)
P2P  (101)
Photo  (395)
Podcasting  (147)
Productivity  (997)
Search  (33)
Security  (407)
Social Software  (615)
Text  (394)
Troubleshooting  (9)
Utilities  (1366)
Video  (679)
VoIP  (84)
web 2.0  (60)
Web services  (2415)
Companies
Adobe  (131)
AOL  (10)
Apache Foundation  (1)
Apple  (346)
Canonical  (5)
Google  (902)
IBM  (24)
Microsoft  (985)
Mozilla  (350)
Novell  (12)
OpenOffice.org  (27)
PalmSource  (11)
Red Hat  (14)
Symantec  (13)
Yahoo!  (250)
License
Commercial  (540)
Shareware  (164)
Freeware  (1488)
Open Source  (664)
Misc
Podcasts  (3)
Features  (167)
Hardware  (157)
News  (979)
Holiday Gift Guide  (13)
Platforms
Windows  (2947)
Windows Mobile  (303)
BlackBerry  (21)
Macintosh  (1762)
iPhone  (20)
Linux  (1282)
Unix  (65)
Palm  (155)
Symbian  (94)
Columns
Ask DLS  (2)
Analysis  (11)
Browser Tips  (230)
DLS Podcast  (3)
Googleholic  (108)
How-Tos  (73)
DLS Interviews  (9)
Design Tips  (10)
Mobile Minute  (25)
Mods  (65)
Time-Wasters  (283)
Weekend Review  (2)
Imaging Tips  (27)

RESOURCES

RSS NEWSFEEDS

Powered by Blogsmith

Sponsored Links

Download Squad bloggers (30 days)

# Blogger Posts Cmts
1 Brad Linder 191 15
2 Grant Robertson 126 0
3 Chris Gilmer 78 9
4 Jason Clarke 51 0
5 David Chartier 23 19
6 Nik Fletcher 21 2
7 Peter White 15 2
8 Lisa Hoover 15 14
9 Dolores Parker 7 1
10 Gordon Finlayson 6 1
11 Sue Polinsky 2 1
12 Emily Price 1 0
13 Alex Hung 1 1

Most Commented On (60 days)

Recent Comments

Weblogs, Inc. Network

Other Weblogs Inc. Network blogs you might be interested in: