Dirk Lance
10-20-2004, 06:43 PM
hello.
i've been toying w/ a flash player that reads the tracks to play from an xml file.
the xml file looks something like this:
<?xml version="1.0" ?>
- <songs>
<song display="Choose a Song" url="" />
<song display="The War" url="TheWar.mp3" />
<song display="Romulus Augustus" url="RA.mp3" />
<song display="Dizzy" url="Dizzy.mp3" />
<song display="Black on Water" url="BOW.mp3" />
<song display="7 Second Afternoon" url="7SA.mp3" />
<song display="1984" url="1984.mp3" />
</songs>
what i'm trying to do is build that list either from a db or have the user manually via textarea edit the track details or add and delete.
i've seen all kinds of scripts on the web most of which are no help, in .net or produce the wrong 'style' xml code.
i guess my questions are:
1. which would be better
a. to build w/ db
b. to use file system object (if possible)
2. how can i format the xml properly?
thanks,
i've been toying w/ a flash player that reads the tracks to play from an xml file.
the xml file looks something like this:
<?xml version="1.0" ?>
- <songs>
<song display="Choose a Song" url="" />
<song display="The War" url="TheWar.mp3" />
<song display="Romulus Augustus" url="RA.mp3" />
<song display="Dizzy" url="Dizzy.mp3" />
<song display="Black on Water" url="BOW.mp3" />
<song display="7 Second Afternoon" url="7SA.mp3" />
<song display="1984" url="1984.mp3" />
</songs>
what i'm trying to do is build that list either from a db or have the user manually via textarea edit the track details or add and delete.
i've seen all kinds of scripts on the web most of which are no help, in .net or produce the wrong 'style' xml code.
i guess my questions are:
1. which would be better
a. to build w/ db
b. to use file system object (if possible)
2. how can i format the xml properly?
thanks,