B0llyw00d
06-04-2007, 10:18 PM
Hi, I'm new to Flash and Dreamweaver (I've always been your plain old 2D Photoshop and Illustrator guy) but I need to complete a website relatively soon, and everything has gone fine except for one thing: I cannot get my Flash mp3 player to work properly within the website.
The player works fine when I open it in Safari or Firefox (I haven't tried it in IE), but when I embed it in Dreamweaver the songs come up as "undefined - undefined". I use an .xml file to "put" the songs in the mp3 player (sorry for the lack of proper jargon), and I'm under the impression that I somehow need to include a link to it in the Dreamweaver code for the embedded Flash document.
I'm going to try to and include the code for the xml file and embedded Flash document. Please help me. I've been at this for almost a week and I'm tearing my hair out.
Flash:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="250" height="25" title="mp3player7">
<param name="movie" value="flashplayer/mp3player7.swf" />
<param name="quality" value="high" />
<embed src="flashplayer/mp3player7.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="25"></embed>
</object>
XML:
<?xml version="1.0" encoding="UTF-8" ?>
<songs>
<song url="theartist.mp3" artist="Rhaz Al Ghoul" track="The Artist"></song>
<song url="awayout.mp3" artist="Lost Boy" track="A Way Out"></song>
<song url="dontwant.mp3" artist="The Oak" track="I Don't Want Your Lovin'"></song>
<song url="watching.mp3" artist="Lost Boy" track="I'm Watching You"></song>
</songs>
the xml file is songs.xml. Thanks to anyone who can offer some advice.
The player works fine when I open it in Safari or Firefox (I haven't tried it in IE), but when I embed it in Dreamweaver the songs come up as "undefined - undefined". I use an .xml file to "put" the songs in the mp3 player (sorry for the lack of proper jargon), and I'm under the impression that I somehow need to include a link to it in the Dreamweaver code for the embedded Flash document.
I'm going to try to and include the code for the xml file and embedded Flash document. Please help me. I've been at this for almost a week and I'm tearing my hair out.
Flash:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="250" height="25" title="mp3player7">
<param name="movie" value="flashplayer/mp3player7.swf" />
<param name="quality" value="high" />
<embed src="flashplayer/mp3player7.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="25"></embed>
</object>
XML:
<?xml version="1.0" encoding="UTF-8" ?>
<songs>
<song url="theartist.mp3" artist="Rhaz Al Ghoul" track="The Artist"></song>
<song url="awayout.mp3" artist="Lost Boy" track="A Way Out"></song>
<song url="dontwant.mp3" artist="The Oak" track="I Don't Want Your Lovin'"></song>
<song url="watching.mp3" artist="Lost Boy" track="I'm Watching You"></song>
</songs>
the xml file is songs.xml. Thanks to anyone who can offer some advice.