here is the code for the correct way to download from flash - this comes
straight from the flash help:
import flash.net.FileReference;
var listener:Object = new Object();
listener.onComplete = function(file:FileReference) {
trace("onComplete : " + file.name);
}
var url:String =
"http://www.adobe.com/platform/whitepapers/platform_overview.pdf";
var fileRef:FileReference = new FileReference();
fileRef.addListener(listener);
fileRef.download(url, "FlashPlatform.pdf");
just change the the url string to the path of your file and change
FlashPlatform.pdf to the default name you want the file to be named when it is
downloaded.
>> Stay informed about: How to do mp3 downloads in firefox?