# Xml mp3 player & xml gallery problem

**URL:** https://forum.kirupa.com/t/xml-mp3-player-xml-gallery-problem/296096
**Category:** Uncategorized
**Created:** [September 9, 2009, 3:05pm UTC](https://forum.kirupa.com/t/xml-mp3-player-xml-gallery-problem/296096 "2009-09-09T15:05:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gwhite83](https://avatars.discourse-cdn.com/v4/letter/g/53a042/32.png) [@gwhite83](https://forum.kirupa.com/u/gwhite83)
#### Post date: [September 9, 2009, 3:05pm UTC](https://forum.kirupa.com/t/xml-mp3-player-xml-gallery-problem/296096/1 "2009-09-09T15:05:15Z")

</div>

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](http://pastebin.com/m6666159)

the xml mp3 code - [http://pastebin.com/m47968617](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.
