SWFUpload v2.0 Pre-release

gyphie's picture

We are happy to announce the pre-release of SWFUpload v2.0. The demos are not completely polished yet and the documentation is not complete but we wanted to get SWFUpload v2.0 into your hands sooner than later.

SWFUpload v2.0 is a powerful Flash & JavaScript upload control. It provides features such as client-side file size checking, progress bars, XHTML & CSS integration and multiple file uploads. SWFUpload is compatible with modern browsers that support the Flash 8 & 9 players.

Main Features

  • JavaScript-based Events
  • HTML-based UI
  • Multi-Select File Dialog
  • Retrieve Server Response (Flash 9 version)
  • Post Additional Data (Flash 9 version, Flash 8 version uses the query string)
  • Upload Multiple Files
  • AJAX Style Uploads
  • Any order uploading. Cancel & Stop queued uploads
  • Flash Feature Detection with Plugins for graceful degradation.
  • Changes Since Revision 6.2

    • Complete re-work of the Event system. Events are called safely so SWFUpload method calls do not fail when interfacing with Flash.
    • More intuitive Event order and naming
    • Plugins for common coding needs
    • Dual Flash 8 and Flash 9 versions. Developers can target Flash Player 8, gaining compatibility while sacrificing a few features found only in Flash Player 9.
    • Integrated customSettings object
    • Complete separation of SWFUpload from UI manipulation.

    Changes Since SWFUpload v1.0.2

    SWFUpload v2.0 is a significant change from v1.0.2. The API has completely changed. The events have changed substantially. The bugs that plagued v1.0.2 have been fixed and many of the most requested features have been added.

    Plugins

    Several plugins are available with SWFUpload v2.0. These include:

    SWFUpload.Queue

    Adds features for queue handing. Primary features are: Upload the entire queue. Cancel the entire queue.

    SWFUpload.v102

    A compatibility plugin for SWFUpload v1.0.2. All events and Methods from v1.0.2 are emulated. Using this plugin you should be able to drop SWFUpload v2.0 in a v1.0.2 website.

    SWFUpload.DocumentReady

    An attempt to load SWFupload as soon as the DOM is ready in any browser. This plugin may improve perceived performance of SWFUpload loading for some sites. Needs testing.

    SWFUpload.GracefulDegradation

    Restores graceful degradation functionality found in the Revisions of SWFUpload.

    SWFUpload.DetectionKit

    Soon to be released plugin that implements Adobe's Flash Detection Kit for SWFUpload. This will provide robust Flash Version detection with the option to prompt users to upgrade their Flash Player.

    SWFUpload.Cookies

    A plugin that automatically collects the cookies from the browser and adds them to the post_params. This is to assist in working around the Flash Player Cookie Bug.

Great job on SWFUpload. I

Great job on SWFUpload. I found v1.02 yesterday and just as I was about to try hacking in a bunch of changes, I found v2.0 and saw they had been added already. I have a question/request. The server logs on my localhost (MacBook Pro) aren't recording an ip address for uploads from the flash object - is this normal behavior? Would it be possible to change this?

gyphie's picture

I'm not sure why the server

I'm not sure why the server wouldn't record an IP address for SWFUpload. It should. All network communication is handled by Flash Player. If there are bugs in it (and there are some) there isn't much we can do but wait for new versions of Flash Player.

We've worked hard to work around many Flash Player bugs so we'll have to keep an eye out on this one.