Download Dialogue Box Thing

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.

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

i have an idea, but i hope this works:
on (release) {

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

To have a Save as window pop up, you should set the mime type to application/octet-stream. Or so I’ve read: