# Replay/reset button for XML Photo Gallery

**URL:** <https://forum.kirupa.com/t/replay-reset-button-for-xml-photo-gallery/193993>\
**Category:** Uncategorized\
**Created:** [July 19, 2006, 7:29pm UTC](https://forum.kirupa.com/t/replay-reset-button-for-xml-photo-gallery/193993 "2006-07-19T19:29:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ponyack](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@ponyack](https://forum.kirupa.com/u/ponyack)\
**Post date:** [July 19, 2006, 7:29pm UTC](https://forum.kirupa.com/t/replay-reset-button-for-xml-photo-gallery/193993/1 "2006-07-19T19:29:32Z")

</div>

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

```auto
gotoAndPlay

```

but that does not seems to work.

any ideas or help would be great

Ponayck
