The format of the xml file that SoundPlayer can read to dynamically import the playlist data should be as follows:
<sound src="tonight.mp3" stream="true" soundbuffer="2">Tonight's the night - Rod Stewart</sound>
<sound src="fun.mp3" stream="true">Girls just wanna have fun - Cyndi Lauper</sound>
<sound src="hello" stream="false">Hello sound is not an external sound because the src attribute value does not have an extension</sound>
Each sound tag represents one entry for the playlist.
src: The path and name of the sound file, or its identifier name if it's in the library.
stream: Set to true or false in the same way that you would set the streaming property in the Properties panel.
soundbuffer: This serves the same purpose as the soundbuffer property in the Properties panel.
The optional text that is included in the sound tag will be displayed as the song name in the components display.
In the event that there are already entries in the playList property,
from the XML file will be added to the existing playlist.
Note: By using the XML file, you can set the streaming and soundbuffer properties for the files individually, instead of globally. So, for example, if the streaming property in the properties panel is set to true, and one of the sounds in the XML file is defined with streaming to false, the soundPlayer component will preload only that file before it is played while all of the other files will be streamed. If either of these properties are not defined in the xml, the component will use the global value that is set in the properties panel.