PDA

View Full Version : Downloading mp3


despins
03-24-2002, 04:34 AM
Is anybody aware of a way to download and save an mp3 file from a flash interface (kind of like rightclicking on an anchor in standard html page instead of clicking on it and have a plugin taking over like what happens in IE 6).

Dominic Despins

farafiro
03-24-2002, 05:32 AM
// Make a *.zip copy of it
// make a bitton
// attach that code to the button

on(release){
getURL("yourSong.zip")
}

U can try to leave it as it is (mp3) and try that, I don't know if it works

despins
03-24-2002, 04:07 PM
First I would like to avoid zipping it.
If you do it like that:

on(release){
getURL("yourSong.mp3")
}

in IE6 for example it will take over the download and put it in the cache of the browser, then start playing the file with Windows Media Player just like using HREF on an anchor in a standard HTML page. If you rightclick on such a link in standard HTML then it's gonna allow you to download the file on one of you drive.
So, my question was:
Is there a way to do it from within the flash player.

Dominic Despins

farafiro
03-25-2002, 05:48 AM
well, I donno exactly but I think u can do it with JavaScript.

But u also can download it with Alt+mouseClick this will pop up the SAVE AS IE's menu, but u should tell the downloaders that