Search Flex Components Free

Custom Search

December 9, 2007

Uploading files with Flash 8

Those trying workarounds to upload files in Flash in previous versions (like the Yamago component with all the cross-browser issues) will be finally happy: with Flash 8, native support exists! This example shows how to use the new FileReference class to upload a file to a server. Nothing difficult, but pay attention: you always need some server script yo store the file in the server. Flash can't upload the file by itself, and instead needs a back-end language to do the server side job.

You should have Flash Player 8 installed to follow this example. Here's our working movie (all files will be deleted, so don't expect that they remains on the server)

Related Flex Tutorials