# Trouble saving files. :(

**URL:** <https://forum.kirupa.com/t/trouble-saving-files/156859>\
**Category:** Uncategorized\
**Created:** [July 28, 2005, 12:40pm UTC](https://forum.kirupa.com/t/trouble-saving-files/156859 "2005-07-28T12:40:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OM2](https://avatars.discourse-cdn.com/v4/letter/o/3ab097/32.png) [@OM2](https://forum.kirupa.com/u/OM2)\
**Post date:** [July 28, 2005, 12:40pm UTC](https://forum.kirupa.com/t/trouble-saving-files/156859/1 "2005-07-28T12:40:26Z")

</div>

I’m developing Flash for a CD.  
I want to create a button for the user to click and then have a choice to save or open file (like PDF or Word file).

i have the following code:

```auto
myButton.onRelease = function()
{
  getURL("abc.doc");
}

```

I can’t see anything wrong with the above.  
I intend to use the code for a CD ROM.  
abc.doc will sit on the CD ROM.

When I click on the button, it opens a browser window and tries to go to [google.com](http://google.com).  
I had it working the other day. ☹

**See the attached files.**  
Need help urgently! ☹ ☹ ☹

Thanks.

OM
