why do not use FileReference.download method?
Posted 6 months ago
This application enables you, to make files downloadable from flash. Any type of file can be downloaded: all image files, music files, video files, MS office files, etc. It includes an AS2 and an AS3 version.
You need PHP 4 .0.4 at least installed on your web server.
It’s OOP , and so it’s very easy to use (works the same with AS2 /AS3):
var myDownloader: Downloader = new Downloader();
myDownloader.forceDownload("yourfile.ext");
It’s tested in all common browers on Windows en Mac. It comes with PDF documentation, an AS2 example, and an AS3 example.
You can test it here online. Good luck!
Posted 6 months ago
FileReference.download is kind a “save as” You must choose a download destination. Here you can download directly the file. Nice work Ruben!
Posted 6 months ago
When i go to download the file using AS2 it will only downlaod the forcedownload.php file…not the specified file that i want them to download
Posted 5 months ago
can I use it for zip files too? I might use big size files so I’ll use zip would that work tooo?
Posted 2 months ago