# Can't get download dialogue box

**URL:** <https://forum.kirupa.com/t/cant-get-download-dialogue-box/224776>\
**Category:** flash\
**Created:** [May 5, 2007, 12:34pm UTC](https://forum.kirupa.com/t/cant-get-download-dialogue-box/224776 "2007-05-05T12:34:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Praha](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@Praha](https://forum.kirupa.com/u/Praha)\
**Post date:** [May 5, 2007, 12:34pm UTC](https://forum.kirupa.com/t/cant-get-download-dialogue-box/224776/1 "2007-05-05T12:34:27Z")

</div>

I am designing a flash site for a singer and I want to make some songs downloadable. I have a simple button with the actionscript:

on (release) {getURL(“[http://www.jaynefraser.com/music/About](http://www.jaynefraser.com/music/About) A Boy - Jane Fraser.mp3”, “\_blank”);

}

But when it is clicked in Firefox a new tab/window opens and the mp3 plays in that with the Quicktime controls. When clicked in IE7 a new tab opens for a second and then closes itself! I already have a media player built in to the site so viewers can listen to samples without leaving the page.

I have tried various combinations of windows and variables, \_self, \_parent, \_top with Don’t send, Send using GET, Send using POST, but none of them achieve what I want. Which is, I want, when the button is clicked, to always open a download dialogue box asking the viewer do the want to save the mp3 to their hard drive or open it. Is there some script I can add to my button to achieve this? Any help would be greatly appriciated.

Regards,

Praha.

P.S. If you want to see for yourself go to [FONT=Courier New][www.jaynefraser.com/test[/FONT]](http://www.jaynefraser.com/test%5B/FONT%5D) the click: Media; Music; About A Boy; Download About A Boy
