Got it playing… amazing how things won’t work when you mistype the source… sheesh! Now I’m having trouble with the song catching the stream. How do increase the buffer zone?
Thanks!
itemPicked=function() {
_parent.mp3Player.myConditionText = “loading…”;
//an item has been selected:
//insert the data value in the box into the text box
var myVal=myList.getSelectedItem().data;
dotIndex = myVal.indexOf(".");
myXml = myVal.subString(0, dotIndex);
_root.xmlFile = myXml + “.xml”;
_root.pList = myList.getSelectedIndex();
myList.setScrollPosition(myList.getSelectedIndex());
if (_root.startIndex == 0) {
//trace(“creating new sound obj”);
_root.s.stop();
_root.s = new Sound();
_root.s.loadSound(myVal, true);
_root.s.start(0,0);
} else {
//trace("_root.startIndex is " + _root.startIndex);
_root.s.start(_root.startIndex,0);
}
};