# XML Photo Gallery Mod Question

**URL:** <https://forum.kirupa.com/t/xml-photo-gallery-mod-question/182122>\
**Category:** flash\
**Created:** [March 15, 2006, 5:33pm UTC](https://forum.kirupa.com/t/xml-photo-gallery-mod-question/182122 "2006-03-15T17:33:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jchild](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@jchild](https://forum.kirupa.com/u/jchild)\
**Post date:** [March 15, 2006, 5:33pm UTC](https://forum.kirupa.com/t/xml-photo-gallery-mod-question/182122/1 "2006-03-15T17:33:07Z")

</div>

I have completed the tutorial below. I want to tell the user when they are at the end or start of the gallery. Not just with numbers, but possibly remove buttons. I just need a script that will allow me to read the start or the end of the gallery and then perform an acton.

Tutorial I am speaking of: [http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)

Thanks,  
Josh
