# Xml photo gallery - to see next set of thumnails

**URL:** <https://forum.kirupa.com/t/xml-photo-gallery-to-see-next-set-of-thumnails/288320>\
**Category:** Uncategorized\
**Created:** [May 14, 2009, 6:19am UTC](https://forum.kirupa.com/t/xml-photo-gallery-to-see-next-set-of-thumnails/288320 "2009-05-14T06:19:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nwglow](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@nwglow](https://forum.kirupa.com/u/nwglow)\
**Post date:** [May 14, 2009, 6:19am UTC](https://forum.kirupa.com/t/xml-photo-gallery-to-see-next-set-of-thumnails/288320/1 "2009-05-14T06:19:24Z")

</div>

I create a photo gallery from xml using AS3 and it loads fine. I want to **limit 5 thumbnails on stage.**

To see more you have to **click the next button to see the next set of 5**. Click prev button to see the previous 5.

I have spent hours on internet but I can’t find the right tutorial or code (they are either is AS2 or written for next image). Can someone help me?
