본문 바로가기

공부방/Flex

[Flex] Flex file upload examples

Uploading files in flex using the filereference class  

 If you want to allow users to upload multiple files at once, you would use the FileReferenceList class instead of FileReference.

 

 

 

Flex File Uploaded

The component can be configured to include the Accordion image preview display shown in the example below or to just display the upload button and File Uploader browser pop-up. The demo contents automatically resize to 90% of the width/height allocated to the Flash file so can be used as large, medium or small module screen spaces.

Here’s the demoPurchase Flex File Uploaded here.

Flex File Upload with ASP.NET

If you’re an experienced .NET pro, go ahead and laugh (although suggestions on making the process better are quite welcome).  Beginners are welcome to download the files here (MXML and Uploader.ashx). 


Flex File Upload Component

You can view the demo here. It’s small yet working Flex upload app. the original piece is here. They did a decent job to get upload going. Of cause once you started, in a real world project, you might need a lot more functions such as multiple file selection, etc.

 

 

 

 

Flex File Upload with PHP

The same guys did the above Flex File Upload Component did this. Sometime people forgot the one important part of the file upload equation is the receiving part. This one explains the sever part using PHP to handle uploaded file.

 

 

 

 

Flash 8 File Upload Download

As we know the Flex Upload is actually use the Flash 8 File Reference object to do the work. The guy who is writing the book ‘Flash 8 Upgrade Essentials’ provided a very detail demo showing how the upload is done within Flash 8. It gives you a good insight on what’s under the hood of Flex file handling.

 

Multiple Flex File Upload with ColdFusion

This is another good Flex file upload example that handles both client and server ends. The server side is ColdFusion, which is very familiar to lots of Cold fusion-turned Flex developers. I think lots of people use the one as prototype and tailor it fit into their own project. If you are in a ColdFusion shop, this is an excellent start point to deal with file upload issues.

 

 

Flex 2 and File Reference API

This is the classic article from Adobe to learn the Flex File Upload. I would recommend everybody interested in the come up with a fancy Flex file upload component needs have a good understanding the guts of the File Reference API.

 

 

 

Drag and Drop Flex File Upload with Ruby on Rails

You should know by now this is my favorite solution. This is the best so far I’ve encountered. It’s actually using Flex 3 and Adobe AIR (I start disliking the name). The server side is using the Ruby on Rails gem Merb to handle the received files. All the details are there and are just fascinating to see Flex/AIR works with RoR.

 

 

 

Working with Flex File Upload and Download

Well, if everything else failed to satisfy your file processing desires with Flex, you can always read the @#%! manual, as they always said.

 

 

 

File Upload Watcher with Apollo (AIR) and JavaScript

Kevin Hoyt will never fail you. This example demonstrates the strength of AIR and showed the powerful combination of AIR and JavaScript. If you are thinking about offline/online solution for your application and in the mean time deal with files, here is a very good start point.

 

 

Another Flex Upload Example

Just another small piece of Flex upload example. You can get the code here.

  


처 : 
http://www.flex3.info/flex-examples/flex-file-upload-examples/1695/