Friday, November 30, 2007

SWFUpload v2.0

SWFUpload v2.0 has been "pre-released" at www.swfupload.org

Pre-released means the Flash Source, Flash SWF, and JavaScript are available but that the demos are not yet updated and documentation is not done.

What's New
  • Flash 8 and Flash 9 versions
    • Flash 9 version includes support for retrieving server data and sending additional POST values
  • Many bug fixes and Flash Player bug work-arounds
  • Plug-ins
    • v1.0.2 compatibility plugin
    • Queue handling plugin
    • Cookie plugin
    • and more...
  • New Official Version

SWFUpload v2.0 is the new "official" version. v1.0.2 is being retired and development on the Revisions has now ended. There will be no Revision 7 final release.

SWFUpload v2.0 is the best SWFUpload release to date. I recommend all SWFUpload users upgrade to it.

Development continues and we have a few outstanding issues. Please visit the site to let us know what you think, get help, and report bugs.

Happy Uploading!

4 comments:

  1. I see that cancelQueue was removed in version 2.0. Also, I don't see anything equivalent. Would this be true? Can I add this back from 0.8.3 Revision 6.2?

    ReplyDelete
  2. Is there a full demo in VB.NET that also show how to actually save the files?

    Thanks
    -Wyatt

    ReplyDelete
  3. There is a VB.Net demo in the latest v2.1.0 package. However it doesn't actually save the file.

    I recommend researching saving uploaded files in the VB.Net documentation. Microsoft's website and many other websites have lots of good information. The MSDN Library is also very good.

    SWFUpload uploads are simply HTTP Uploads were the posted file is under the name of "Filedata" (by default).

    Since SWFUpload is a client side library we've left the server-side (saving files) pretty much up to the developers. Even the PHP demos don't have file saving.

    ReplyDelete
  4. To save the images:

    1. In the VB demo, find the line:
    final_image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg)

    2. Add the following below the line:
    Dim newFilename As String = Server.MapPath("~/Uploads/" + jpeg_image_upload.FileName)
    original_image.Save(newFilename, System.Drawing.Imaging.ImageFormat.Jpeg)

    ReplyDelete