Xml mp3 player & xml gallery problem

Hi guys, im brand new to the forum here and a bit of an actionscript noob.

Ill try to describe my problem as best i can…

I have put an xml mp3 player into an existing movie clip.

The mp3 player works fine on its own. What I need the mp3 player to do however is to change track depending on which thumbnail in my xml gallery is pressed. Im using two different xml files.

eg thumnail 3 is pressed then track 3 should play etc.

I shall pastebin the code to see if you guys can make head or tail of it. im at a total loss.

the main xml gallery code - http://pastebin.com/m6666159

the xml mp3 code - http://pastebin.com/m47968617

I think i need to put something like…

TFtitle.text = my_Sound[song].artist+" - "+my_Sound[mp3File].title;
loadMP3(ivar);

into the main xml gallery code but its just not working.

Any help is greatly appriciated guys.