Search Flex Components Free

Custom Search

December 5, 2007

Multiple file upload with Flex and ColdFusion

In this article, you will learn how Adobe Flex 2 and ColdFusion MX 7 enable you to create applications that leverage the file I/O capabilities of Adobe Flash Player 9 to transport files from the client side to the server side with relative ease.
Through the Multi-File Upload application, you will learn how to do the following:
Use Adobe Flex Builder 2 to create a rich user interface to cue up files to upload
Perform client-side processing logic to permit only desirable file sizes and file types
Include additional variables with each file uploaded to the server
Use the ColdFusion CFFILE tag to handle files uploaded to the server
As great as this application is, be aware that it is not intended to demonstrate development best practices. Rather its purpose is to show how the technical and functional capabilities of Flex 2, Flash Player 9, and ColdFusion MX 7 file processing can improve the user experience of uploading files through a web browser.
Requirements
You may want to download and install the following software to follow along with this article:
Flex Builder 2 (SDK included)
Try
Buy
Flash Player 9
Download it now
ColdFusion MX 7.0.2
Try
Buy
Sample files:
multi_file_upload.zip (ZIP, 677K)
Prerequisite knowledge
Familiarity with general Flex concepts and ColdFusion's file management tags such as CFFILE.
Additional documentation
ColdFusion MX 7.0.2 CFFILE documentation
Flex 2 Language Reference

Related Flex Tutorials