I would recommend using a mediaDisplay for mp3s. Especially if there lengthy.. say 3 min or avg song length. The media display won't actually display anything for mp3's. it just gives you access to the sound. I would reccommend it just beacuse there are more properties and methods available for the media display. its easier to use.

myMedia.setMedia(fileURI, "MP3 | FLV");

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part6_Component_Reference.html

I am not aware of any problems with mediaDisplay's in IE. So give it a shot.

if your using just short sound effects then yes.. use a sound object. Which if thats the case, I don't have any reccommendations at this point for your IE problem......

Aaron Smith




Marc Hoffman wrote:

I've seen some discussion of this in the archives, but nothing conclusive.

My Flash 8 movie creates a sound object and uses loadSound (dynamicFilename,true) to play any of a number of mp3 files off the server. Works fine locally and in Netscape but breaks in I.E. when played via the web.

Looking in the I.E. cache, I see that the mp3's are getting loaded when requested; they just don't play. If I type the URL of the mp3 file into I.E.'s address window, I can get the mp3 to open and play in Windows MediaPlayer. On a few occasions, I can then get Flash to play the same sound, but it almost always fails.

I've tried absolute paths (http://mydomain/folder/filename.mp3) as well as relative paths (../filename.mp3 -OR- filename.mp3) in the loadSound argument -- makes no difference. And as I said, the files ARE being downloaded into cache, they just don't get played in the swf. They're all located in the same server folder as the .swf.

Anybody have a clue why this is breaking in I.E. 6?

thanks,
Marc


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to