October 15th, 2008
10 Comments

FancyUpload for Flash 10

Update (1st May ‘09): FancyUpload 3.0 was released, completely rewritten and fully compatible with Flash 9 and 10. The project site provides more showcases, extensive documentation and runnable download packages.

This morning Adobe Flash 10 Player was released. Already during the beta releases people realised that it breaks all Flash-based upload solutions (there are several) that control a hidden flash-object with JavaScript.

I developed and tested all day to release a FancyUpload version that works in Flash 9 and 10 (Kodus to Anders Rasmussen and his conversion to AS3). The code is now commited to github, so people can review and submit patches in a blink:

http://github.com/digitarald/digitarald-fancyupload

It includes the updated source, assets and showcases. As a fix for Flash 10, the invisible Flash object has been moved over the browse button (referred by the option target). A solution with less than 10 lines, thanks to MooTools. A showcase with the fixed source is also available, waiting for tests in your favourite browsers.

The project site and showcases are not updated for this release, this one is a preview for developers, to get some feedback. I’d appreciate any feedback, test results and patches developers using the new version can provide.

Keywords:
Share it: Stumble it!Digg This!del.icio.us (33 Posts: )

discussion by DISQUS 10 Comments

Please use the support forums for discussing the project, asking questions or posting bug-fixes!

Sort:
Comments 1 – 10 of 10:
  • First
  • ‹ Prev
  • Next ›
  • Last
  • reply
    Avatar
    Loves Fancy Upload
    said 4 years ago (1 Point)

    Now that we're compatible with Flash 10, we should offer the ability to resize images uploaded with FancyUpload to save on server bandwidth (it'd have to detect if running under Flash 10 of course obviously)

  • reply
    Avatar
    digitarald Site Owner
    replied 4 years ago (1 Point)

    Sounds like a nice feature, do you have any example code or patches (new code is http://github.com/digitarald/d... ) ?

  • reply
    Avatar
    Loves Fancy Upload
    replied 4 years ago (1 Point)

    and here's how to encode and upload the bitmap once you read it in via the Flash 10 .load() method and scale it..

    http://labs.findsubstance.com/...

    (uses the UploadPostHelper by Jonathon Marston)

  • reply
    Avatar
    Loves Fancy Upload
    replied 4 years ago (1 Point)

    Check out these posts from Flash Cafe:

    http://flexgraphix.com/blog/?p...

    http://stackoverflow.com/quest...

    Basically there are a new scale methods (scaleX / scaleY) that can be called on bitmap data

  • reply
    Avatar
    Loves Fancy Upload
    replied 4 years ago (1 Point)

    So did that help?

  • reply
    Avatar
    Rio
    said 4 years ago (1 Point)

    A fully packaged FancyUpload version for Flash 10 has been released at www.rioleo.org/getting-fancyup...

  • reply
    Avatar
    Jay
    said 4 years ago (1 Point)

    Having some issues getting the additional data to work with each upload in IE7. Basically I'm passing the fileUpload callback in the options object that will add a parameter to the options.data object.

    It works well in Firefox, the extra parameter is passed along with my file Post, but in IE7 the extra parameter doesn't make it through.

    Worth noting, if I specify the same extra parameter in the initial options object that I pass to the constructor, it gets passed just fine (in both browsers).

    Has the "additional data per request" feature been tested in IE7? I've debugged all the javascript that I can, and just don't see the parameter being dropped anywhere. Is it possible that Flash behaves differently in IE7 (both browsers are Flash version 10)?

    I'll continue to test and debug, but just wanted to bring this to your attention to see if I'm missing something obvious.

  • reply
    Avatar
    said 4 years ago (1 Point)

    What are the different step to update fancyupload 2 to fancyupload with flash player 10 please ?

  • reply
    Avatar
    replied 4 years ago (1 Point)

    FancyUpload for Flash 10 works with Flash 9 and Flash 10. FancyUpload 2 doesn't work with Flash 10.

  • reply
    Avatar
    digitarald Site Owner
    said 4 years ago (1 Point)

    Testing fixed comment system.

Comments 1 – 10 of 10:
  • First
  • ‹ Prev
  • Next ›
  • Last

Post your comment

Please use the support forums for discussing the project, asking questions or posting bug-fixes!


Internet Consultant & Contractor

I'm available to combine forces with you and your team to find the most simple, elegant and convenient web solutions . I await your call.

If you just like my work and want to say Thank You, donate via PayPal or Amazon Wish List.

Developer Resources & Tools