How to make button that saves file to disk

Hi, everyone!
Does anyone know what code to use to make a button on your website that lets a viewer
save a file to his/her hard drive. It used to be as simple as getURL in actionscrip 2, but I have now idea how to do that in Actionscript 3.
Any help would be great.