# Add button for viewer to save file to disk

**URL:** <https://forum.kirupa.com/t/add-button-for-viewer-to-save-file-to-disk/242571>\
**Category:** random\
**Created:** [October 27, 2007, 7:03pm UTC](https://forum.kirupa.com/t/add-button-for-viewer-to-save-file-to-disk/242571 "2007-10-27T19:03:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iSilkin](https://avatars.discourse-cdn.com/v4/letter/i/aca169/32.png) [@iSilkin](https://forum.kirupa.com/u/iSilkin)\
**Post date:** [October 27, 2007, 7:03pm UTC](https://forum.kirupa.com/t/add-button-for-viewer-to-save-file-to-disk/242571/1 "2007-10-27T19:03:01Z")

</div>

Hi, everyone!  
Does anyone know what code to use to make a button on your website that lets a viewer  
save a file to his/her hard drive. It used to be as simple as getURL in actionscrip 2, but I have now idea how to do that in Actionscript 3.  
Any help would be great.
