# Button downloader in flash

**URL:** <https://forum.kirupa.com/t/button-downloader-in-flash/194104>\
**Category:** flash\
**Created:** [July 20, 2006, 3:43pm UTC](https://forum.kirupa.com/t/button-downloader-in-flash/194104 "2006-07-20T15:43:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xristoz](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@xristoz](https://forum.kirupa.com/u/xristoz)\
**Post date:** [July 20, 2006, 3:43pm UTC](https://forum.kirupa.com/t/button-downloader-in-flash/194104/1 "2006-07-20T15:43:37Z")

</div>

Ok i wanted to make a button that will fetch me a file from a local folder.  
The application will run from a dvd. i tried simpel to use geturl() however as the files are pics the browser opens them which is something i dont want due to large size approx. 150mb each and i would like to give the opportunity to the user to save them wharever he wants.

I have seen some downloaders arround which i could not get to work.  
One i really liked was [http://www.tink.ws/blog/filereference-source/](http://www.tink.ws/blog/filereference-source/) while the example itself  
[http://www.tink.ws/blog/files/flash8/DownloadExample.html](http://www.tink.ws/blog/files/flash8/DownloadExample.html)

i tried to change the URL of the file name and the name that is going to be save in the script file but nothing happened when the file was locally. I tried to do the same from an online pdf but it was not available to fetch it due to security reasons…

Any help i am kinda new to all this :S

Ps. if it is possible to bypass that default opening of the browser with th geturl() i guess its easier than writing a whole actionscript code or even tweaking it for me heh
