hide side navigation
    5 most recent
    Web Services
    Library's
    Component's
    Applications
    Articles
  Flash button as Flex icon  Flex form by email  Hello Remoting with AS3  AS3 Saving data from Flash  AS3 Loading data into Flash  Fire Effect  Contact form  Dragable buttons  Hello World with openamf  Loading helper classes  Upload with Flash 8  Transitions effects  Snapshot with Flash 8  Hello World Remoting AS2  Flash AS2 Remoting Connector  Saving data from Flash  Loading data into Flash  FlashCom & Remoting login  Cell Renderer API  Editing a table using remoting components  Flash MX2004 web service classes  Browsing a catalog  amfphp Documentation  Hello World Remoting  Online Store with AMFPHP  Flash clients for Web Services  Web Service Walk Though with NuSoap  Popup windows in flash with javascript  Installing Apache/PHP  MoreOver News Feeds  Load Edit Save Text Files via CGI  Save Movie Clip Postion via PHP and MySQL
 Read Full Documentation >>

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)

 

For a summary explanation, download the source files and continue reading

 Download the Source Files
- Be sure to check the message board for help/support.