Image gallery

First time user of this site, so bare with me.

I created a Flash Image Gallery from a source that I was able to download. It works fine! However, as each new image is uploaded (from XML), I would also like for the gallery to advance to the next button, and the user can click on any of the other buttons on stage., like this example:

Can anyone give me advice?

Thank you,