# Download Dialogue Box Thing

**URL:** <https://forum.kirupa.com/t/download-dialogue-box-thing/112135>\
**Category:** Uncategorized\
**Created:** [June 3, 2004, 11:03pm UTC](https://forum.kirupa.com/t/download-dialogue-box-thing/112135 "2004-06-03T23:03:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckyfan](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@ckyfan](https://forum.kirupa.com/u/ckyfan)\
**Post date:** [June 3, 2004, 11:03pm UTC](https://forum.kirupa.com/t/download-dialogue-box-thing/112135/1 "2004-06-03T23:03:33Z")

</div>

Lets say someone want’s to make a site in flash you make a downloads section on the site where you can download stuff. You know how when you get those download boxes either you can save target as or wait for the box to pop up to download the file you wanted. How would you do that in flash I’ve seen it done before but can’t remember where.

Thanks for any help.

---

<div class="post-metadata">

**Author:** ![vman](https://avatars.discourse-cdn.com/v4/letter/v/5e9695/32.png) [@vman](https://forum.kirupa.com/u/vman)\
**Post date:** [July 24, 2004, 9:25pm UTC](https://forum.kirupa.com/t/download-dialogue-box-thing/112135/2 "2004-07-24T21:25:33Z")

</div>

[http://www.actionscript.org/forums/showthread.php3?t=22107&highlight=force+download](http://www.actionscript.org/forums/showthread.php3?t=22107&highlight=force+download)

Haven’t gotten it to work though. If you do let me know how to use it.

---

<div class="post-metadata">

**Author:** ![kwing](https://avatars.discourse-cdn.com/v4/letter/k/ee7513/32.png) [@kwing](https://forum.kirupa.com/u/kwing)\
**Post date:** [July 25, 2004, 6:53am UTC](https://forum.kirupa.com/t/download-dialogue-box-thing/112135/3 "2004-07-25T06:53:03Z")

</div>

i have an idea, but i hope this works:  
on (release) {  
getURL(“filename.fileext”,"\_self");  
}

paste this in your button actions. I think the solution is to link it to the file itself.

---

<div class="post-metadata">

**Author:** ![Voetsjoeba](https://avatars.discourse-cdn.com/v4/letter/v/ac91a4/32.png) [@Voetsjoeba](https://forum.kirupa.com/u/Voetsjoeba)\
**Post date:** [July 25, 2004, 9:42am UTC](https://forum.kirupa.com/t/download-dialogue-box-thing/112135/4 "2004-07-25T09:42:25Z")

</div>

To have a Save as window pop up, you should set the mime type to application/octet-stream. Or so I’ve read: [http://wsabstract.com/howto/htaccess9.shtml](http://wsabstract.com/howto/htaccess9.shtml)
