Downloadify – Client-Side File Generation tool
Downloadify is a lightweight JavaScript and Flash-based library that allow you to quickly generate files on the browser and saving them without any service requests. It uses Flash 10’s ability to create files on the client-side trigger a commit to the user’s computer.
As Flash 10 has been gaining broad use and is now past a 93% install base, it’s time to make general use of this feature! There is one catch: the user must click something in the Flash file to trigger the download for security reasons.
Downloadify set JavaScript callbacks with the Downloadify.swf. Allow your code to respond to the click event and pass in your data at that time. Whatever data is given in your function will be saved to their hard-drive when and where they select.
Features:
- Super small: ~3KB of JavaScript, ~2KB SWF, ~2KB Image
- Enables the creation and download of any text-based file without requiring server interaction.
- Enables faster downloads when repurposing data already contained on a page. (vCard, iCal, etc.)
- It only requires an SWF object. No other JavaScript library or framework is needed for use.
- Normal, Hover, and Down states on the download image.
- Open Source code released under the MIT License