mp3 download actionscript
- Started
- Last post
- 19 Responses
- unknown
any tips on scripting a mp3 download in flash?
- chimchim0
like a jukebox that streams files..or what..
here is a phat setup complete with php script to rip remote directories into playlists.
- ********0
what are you looking for?
- DeLeon0
I think he's lookin' for a way to force a user to download an mp3 by clicking on a link...
and for that, I offer no easy answers, other than to zip it.
- stuff0
Before this topic gets buried, I'm looking for the same thing if anyone can help!
- unformatted0
what exactly is it you're looking for?
- stuff0
If I tell a button to link to an .mp3 file I'd like a dialogue box to popup prompting the user to save file to disk.
Like when you write click on ahtml link and save link to disk....
Like what happens when you link a zip file....Cheers :)
- unformatted0
i think the only way to do that is zip it up. it also depends on the users settings.
- stuff0
yup I thought so...never mind thanks anyways dude :)
- smokie0
dont give up so easy!!
this is done by faking the mime type of the file, so the browser doesnt know what to do with it. Normally it recognises the file extension and takes the approprate action, else it gives a save as dialog.
I can give you the code to do this in ASP if you like, do you host your site on IIS?
:)¬
- stuff0
It does it does!
I would very much like the asp when you have time, thanks buddy!
yup, I gave up shamelessly :(
- mrdobolina0
this can be done with cgi and php also, altho I dont know how. but if we keep loading this thread up someone might notice it.
- smokie0
you got mail
:)¬
- stuff0
Smokie you_are_the_man :)
- stuff0
nice to know, thanks cbr_dave
:) :)
- unknown0
yah, best t hing to do, which is what i did... was create a radio station on mp3.com, then right clicked on the play HI FI button, and save it to your computer. if you have the mp3 flash player setup to read the file name, you might have to add/rename the song names but that's not that bad, considering that none of the mp3s are on your server but theirs. just a thought.
i had a radio setup that bypassed their stupid login for email using media player and real media player but this way is much better
dave
- unknown0
Wow
I went to sleep and thought this topic was gonna get buried...thanks for all the tips, everyone, will try them out
- ********0
Ummm: GetUrl: http://www.you.com/mp3.zip ot whatever?
- stuff0
we be talkin direct .mp3 links here brutha!