var songs:Array = new Array;
var audioxml:XML = new XML;
audioxml.ignoreWhite = true;
audioxml.onLoad = function() {
var s:Array = this.firstChild.childNodes;
for (i=0;i<s.length;i++) {
songs.push(s*.attributes.src);
}
trace(songs[0]);
}
audioxml.load("audiofeed.xml");
mp3 = new Sound();
mp3.loadSound(songs[0], true);
mp3.start();
The trace works, but when I try the mp3.loadSound, it comes back undefined. Any ideas?