Replay/reset button for XML Photo Gallery

Hi

how would i go about creating a button that will reset the gallery.
I am using the gallery as a presentation and when the gallery reaches the end, I need a button that will bring the gallery back to the first image

I have tried

gotoAndPlay

but that does not seems to work.

any ideas or help would be great

Ponayck