0 Replies Latest reply on Apr 1, 2007 9:54 PM by greeninkjan

    MP3 player code help.. slight tweaks

    greeninkjan
      http://www.clairmonthumphrey.com/Site/
      The flash mp3 player I've done for this site is giving me a few problems...

      The code is attached but this is what happens though...
      ..In this line...
      sa.push(nodes.attributes.url);
      when it stays like that the song plays fine but the trackInfo doesn't come up but when I replace it with this code.. the song doesn't play but the trackInfo comes up..
      sa.push(new Song(nodes.attributes.url, nodes.attributes.track));

      This is what the songs.xml file looks like...
      <?xml version="1.0" encoding="UTF-8"?>
      <songs>

      <song url="AmazingGraceMedley.mp3" track="Amazing Grace Medley" />

      <song url="MidnightCry.mp3" track="Midnight Cry" />

      <song url="YouareSoWonderfulRemix.mp3" track="You Are So Wonderful" />

      <song url="TrustIntheLordFirstVersion.mp3" track="Trust In the Lord" />

      </songs>

      What am I doing wrong...

      A few other quirks need straightening out...

      The volume bar only increases the volume the first time.. after subsequent tries it neither increases nor decreases...
      The playPause_mc button pauses but doesn't play again when pressed...

      Everything else is under control.. Can anyone help?

      See below the action script....