# getURL Question

**URL:** <https://forum.kirupa.com/t/geturl-question/227126>\
**Category:** flash\
**Created:** [May 27, 2007, 10:56am UTC](https://forum.kirupa.com/t/geturl-question/227126 "2007-05-27T10:56:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dr77](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@dr77](https://forum.kirupa.com/u/dr77)\
**Post date:** [May 27, 2007, 10:56am UTC](https://forum.kirupa.com/t/geturl-question/227126/1 "2007-05-27T10:56:16Z")

</div>

Hello all,

I would like to allow visitors to download flash files from my website.

I have the following code one my first button:

```auto
download_btn.onRelease = function(){
 getURL("blankWebsite.exe");
}

```

This works fine and opens a ‘Save’, ‘Open’ or ‘Cancel’ pop-up box.

For button two (the xml file which visitors can use to populate the blank website they have downloaded) I have used the following code:

```auto
download2_btn.onRelease = function(){
 getURL("template.xml");
}

```

However, rather than giving the option of saving the file (which is what I want) the file opens in a new browser window.

Can anyone suggest a way to offer the ‘Save’, ‘Open’ or ‘Cancel’ options for the xml file rather than it opening immediately in a new browser window?

Hope this makes sense - thanks as always for any help,

David
