# XML and Flash Photogallery

**URL:** <https://forum.kirupa.com/t/xml-and-flash-photogallery/274111>\
**Category:** flash\
**Created:** [October 24, 2008, 10:32pm UTC](https://forum.kirupa.com/t/xml-and-flash-photogallery/274111 "2008-10-24T22:32:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![c7days](https://avatars.discourse-cdn.com/v4/letter/c/e9bcb4/32.png) [@c7days](https://forum.kirupa.com/u/c7days)\
**Post date:** [October 24, 2008, 10:32pm UTC](https://forum.kirupa.com/t/xml-and-flash-photogallery/274111/1 "2008-10-24T22:32:50Z")

</div>

I am working on a photo slideshow in CS3 for my girlfriend’s portfolio based on the one in this tutorial:

[http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery2.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery2.htm)

I am trying to get the next button to go back to the first photo when it reaches the last photo. But my actionscript knowledge is pretty weak, and I keep messing it up. Otherwise, the tutorial was just what I was looking for.

If anyone knows a simple way to modify the actionscript (see above link and scroll down) to make this work I would be greatly appreciative!!!
