Subscribe

  • Subscribe  

Flex File Upload Project – Starter

Posted by Moxie Zhang | April 27, 2005 .

Update (8/14/07): I have a latest post on the Flex File Upload examples. Check it out.

So far, the only thing stops me fully embracing Flex is its lack of file upload capability. The example provided by Macromedia is not that exciting. So, let me try to come up something can be used in a real project.

Utilizing the same concept, by using Flash’s LocalConnection class, I made a starter Flex application. To make it easier to try out, I simulate the actual uploading part, the part web server receives files and do something. File handling are server side are low-tech now for web application. I’d like the starter application can be run without server side file handling so that whoever is interested it can easily try it out, as long as you have a Flex server.

Get the Flex File Upload Project Starter Files from here.

The screen so far looks like:
Flex File Upload Starter Project Screen

The design goals are:

  • Try to avoid iframe and frame
  • Try to simulate window app style file selection and upload
  • Support virtually all browsers and platform
  • Use a Flash as communication media instead of a Flex one to reduce server side compiling
  • Reduce or remove static files
  • Eventually make it a Flex/Flsh component ( is this too high for a goal?)
  • Adobe/Macrobedia opens up file upload before I finishing this, yahoo!!

I’ll add more goals later and explain the current implementation at next post.

Give it try. To play with it, once unzip and drop everything to a Flex app area, just call the jsp file fileUpload.jsp and see what’ll happen.

Leave a Comment

If you would like to make a comment, please fill out the form below.


Name

Email

Website

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Comments

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word


Related Posts

5 Comments so far
  1. leo  August 2, 2005 1:16 pm

    It can’t work at all.
    The key problem is the “\” in the file path will disappear when retrieving it to upload.

  2. Flexguy  August 2, 2005 9:24 pm

    The actual upload part is the borning http multi-part file upload without Flex involvement. If runing java at backend, here is the best resource to deal with the files received: http://www.onjava.com/pub/a/onjava/2005/07/13/jsfupload.html

    BTW, the Flex file upload project is cancelled. Flash 8 beta release and it allows fileload from Flex 1.5. Very nice!

  3. kris / vonnhugo  January 25, 2008 3:15 am
  4. Jubayer Arefin  February 15, 2009 2:27 am

    Thank you very much.

  5. diszk  February 22, 2009 5:43 pm

    nice, thanks

<

Error. Page cannot be displayed. Please contact your service provider for more details. (20)


Direct TV Offers - usdirect has the best directtv deals