# Flash XMl Gallery tutorial question

**URL:** <https://forum.kirupa.com/t/flash-xml-gallery-tutorial-question/313409>\
**Category:** flash\
**Created:** [August 29, 2010, 4:06am UTC](https://forum.kirupa.com/t/flash-xml-gallery-tutorial-question/313409 "2010-08-29T04:06:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![konghoi](https://avatars.discourse-cdn.com/v4/letter/k/5f9b8f/32.png) [@konghoi](https://forum.kirupa.com/u/konghoi)\
**Post date:** [August 29, 2010, 4:06am UTC](https://forum.kirupa.com/t/flash-xml-gallery-tutorial-question/313409/1 "2010-08-29T04:06:35Z")

</div>

Hi, this is a wonderful tutorial ([http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)) and i could apply that to my design…so now my question is how to change the script to make it go back to first image after the last image…cos now when displaying the last image, next button couldnt go to first image and stuck in there…Thanks who can help.:rambo:
