Posterous
Jarin is using Posterous to post everything online. Shouldn't you?
Photo_21_thumb
 

Jarinheit

Jarin Udom's blog for programming and other nerd shit

« Back to blog

Downloading large files in Adobe AIR using Flex

Everyone is probably familiar with the method for downloading files provided in the Flex documentation:

 

The only problem with this is the file data is stored in memory until you write it to disk. Obviously this will not work well for large files (on the order of hundreds of megabytes).

Here’s a better way to download large files that works by using the progress event to write bytes to disk as they come in:

Enjoy!

 

Loading mentions Retweet
Posted June 5, 2008
 
Got an account with one of these? Login here, or just enter your comment below.
Posterous-login    twitter