# How To : Flash Button on Click, download external files

**URL:** <https://forum.kirupa.com/t/how-to-flash-button-on-click-download-external-files/77556>\
**Category:** flash\
**Created:** [January 28, 2005, 2:32am UTC](https://forum.kirupa.com/t/how-to-flash-button-on-click-download-external-files/77556 "2005-01-28T02:32:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![razielhans](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@razielhans](https://forum.kirupa.com/u/razielhans)\
**Post date:** [January 28, 2005, 2:32am UTC](https://forum.kirupa.com/t/how-to-flash-button-on-click-download-external-files/77556/1 "2005-01-28T02:32:07Z")

</div>

Hello again,

I have a button and I wanted that when clicked, the user can download a PDF file. How does the AS goes for that? I tried this one but didn’t work,

on (release) {  
getURL(downloads/map.pdf);  
}
