I used this tutorial to create an xml photo gallery:
http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm
I would like to add the functionality of having the next button return to the beginning of the xml when you reach the end and have the previous button return to the end if you are navigating the other way. Any ideas?