Download MP3 File
- Started
- Last post
- 7 Responses
- Eyekiller
Can someone help me - I am currently building a site in flash for a dj.
In teh music section i would like the user to be able to download .mp3s. When i use getURL the mp3 does not start to download - instead it is opened in quicktime a seperate browser window??
- Eyekiller0
Basically i want to force the download rather than have it open in a browser ... anyone know how to do this?
- rasko40
zip it
- prajna0
afaik it's not possible to force a download dialog box. It's dependent on how the end user has their computer set up to handle mp3s. It will open automatically in the program they have set to open those files. In HTML you have to right-click and "save link as" to get the browser dialog. In Flash you have no right-click. You could try .zipping the files.
- tymeframe0
what he said.
- mitsu0
another not-so-elegant method is to change the ext from '.mp3' to something like '.mp3_download'.
the browser won't know what do do with the file, so a save as dialog box will open. but then the user has to know to change the ext back. again, not elegant, but effective.
- contra0
You can do it with PHP, although I don't know how. Use the Find button down below.
- JazX0
ZIP/SIT