# Why cant I load this?

**URL:** <https://forum.kirupa.com/t/why-cant-i-load-this/213742>\
**Category:** flash\
**Created:** [January 22, 2007, 10:48pm UTC](https://forum.kirupa.com/t/why-cant-i-load-this/213742 "2007-01-22T22:48:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rondog](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rondog/32/2478_2.png) [@rondog](https://forum.kirupa.com/u/rondog)\
**Post date:** [January 22, 2007, 10:48pm UTC](https://forum.kirupa.com/t/why-cant-i-load-this/213742/1 "2007-01-22T22:48:02Z")

</div>

```auto

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?
