View Single Post
Old 03-20-2008, 05:40 PM
dougeefresh dougeefresh is offline
Junior Member
Join Date: Mar 2008
Posts: 19
Downloads: 0
Uploads: 0

OK, so I once again hit a brick wall.

I created a SWF movie with the above code called "playsound.swf" and added functions that plays and stops a mp3 (very simple mp3 player). I would like to feed mp3 file path from an XML file using playsound.swf as a plugin. "mp3url" is the variable defined in the swf, which will receive and store the mp3 path from the XML file.

The XML file has:

name = mp3url
value = mysong.mp3

and under hotspots

<spot id="hotspot01" url="playsound.swf" onLoad="" />

Needless to say, it doesn't work

What am I doing wrong?
Reply With Quote