# How to make downloading links using ActionScript?

**URL:** <https://forum.kirupa.com/t/how-to-make-downloading-links-using-actionscript/188674>\
**Category:** flash\
**Created:** [May 9, 2006, 11:15pm UTC](https://forum.kirupa.com/t/how-to-make-downloading-links-using-actionscript/188674 "2006-05-09T23:15:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![msmemsme](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@msmemsme](https://forum.kirupa.com/u/msmemsme)\
**Post date:** [May 9, 2006, 11:15pm UTC](https://forum.kirupa.com/t/how-to-make-downloading-links-using-actionscript/188674/1 "2006-05-09T23:15:46Z")

</div>

Hi,  
What is the Action Script code that makes me able to make a download link? I used “getURL” but this way user is forced to open the file, I want to make him able to download the file and save it to his hard disk. How I can make this?

For Example, if the file was an audio file, I don’t want it to open directly with the default player, I want to make user free to save it to his PC or play it online.
