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!

