Hi there
I believe this is an easy one but I cant figure it out. I have mp3s on a site that I want the user to be able to download when clicking on a button. Is there an easy way of doing this in flash MX?
thanx
Hi there
I believe this is an easy one but I cant figure it out. I have mp3s on a site that I want the user to be able to download when clicking on a button. Is there an easy way of doing this in flash MX?
thanx
When you say download, I’m assuming you just want it to be downloaded and not played. If that’s correct then you can use getURL and it should do the trick, something like this:[AS]on (release) {
getURL(“http://www.yoursite.com/songname.mp3”);
}
[/AS]
thanx electrongeek but I have tried that and it opens a new window and streams the song. I would like the user to be able to save it on the drive, something like rightclicking and save taget as. Or at least a little window asking if he/she wants to save or open the file. I hope this explenation clears your mind.
Armin
mp3s are set to stream by default on most browsers. If you want them to download it, place it in a ZIP file and have the user download the zip. I don’t think there is any other way…
Yeah Jubba is right, placing it in a zip file will solve that problem and it will probably reduce file size and reduce download time as well.
thank you for the help guys
rock on
:: Copyright KIRUPA 2024 //--