Groups | Blog | Home
all groups > flash (macromedia) > february 2004 >

flash (macromedia) : Using Flash to Trigger File download


wjsparky
2/22/2004 10:40:31 PM
This is probably very simple but I can't find any info on it in the help file.
I'm using MX and all I need to do is when the website user clicks a button it
triggers the download (probably with a download window would be best) of a ZIP
file.


Thanks

Will
stwingy
2/22/2004 10:58:57 PM
you just need to use getURL()
eg/button instance name myButton, on the timeline
myButton.onRelease = function() {
//you can use a relative or absolute path to the file
getURL("whatever.zip");
wjsparky
2/22/2004 11:20:22 PM
AddThis Social Bookmark Button