Welcome to GraphicForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to do mp3 downloads in firefox?

 
   Graphic Forums (Home) -> Browser Issues RSS
Next:  flash button problem in Firefox  
Author Message
Rabel

External


Since: Oct 19, 2004
Posts: 2



(Msg. 1) Posted: Thu Jun 05, 2008 6:13 pm
Post subject: How to do mp3 downloads in firefox?
Archived from groups: macromedia>flash (more info?)

I am using this code to set up mp3 downloads
-First Frame
mp3version="401audio.mp3"
-Then on the button
on (release) {
getURL(_root.mp3version,"_blank")
}

And this works correctly in ie but firefox plays the file, I dont want to put
instructions to change how firefox manages mp3 file types. Is there another way
to download mp3 files in flash.

 >> Stay informed about: How to do mp3 downloads in firefox? 
Back to top
Login to vote
whodeee05

External


Since: Jun 05, 2008
Posts: 2



(Msg. 2) Posted: Thu Jun 05, 2008 6:52 pm
Post subject: Re: How to do mp3 downloads in firefox? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

here is the code for the correct way to download from flash - this comes
straight from the flash help:

import flash.net.FileReference;

var listener:Object = new Object();
listener.onComplete = function(file:FileReference) {
trace("onComplete : " + file.name);
}

var url:String =
"http://www.adobe.com/platform/whitepapers/platform_overview.pdf";
var fileRef:FileReference = new FileReference();
fileRef.addListener(listener);
fileRef.download(url, "FlashPlatform.pdf");

just change the the url string to the path of your file and change
FlashPlatform.pdf to the default name you want the file to be named when it is
downloaded.

 >> Stay informed about: How to do mp3 downloads in firefox? 
Back to top
Login to vote
Rabel

External


Since: Oct 19, 2004
Posts: 2



(Msg. 3) Posted: Thu Jun 05, 2008 7:11 pm
Post subject: Re: How to do mp3 downloads in firefox? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
Display posts from previous:   
   Graphic Forums (Home) -> Browser Issues All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]