# AS3 XML Grid Multipages Gallary

**URL:** <https://forum.kirupa.com/t/as3-xml-grid-multipages-gallary/325688>\
**Category:** flash\
**Created:** [October 30, 2011, 6:59pm UTC](https://forum.kirupa.com/t/as3-xml-grid-multipages-gallary/325688 "2011-10-30T18:59:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mak39](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mak39](https://forum.kirupa.com/u/mak39)\
**Post date:** [October 30, 2011, 6:59pm UTC](https://forum.kirupa.com/t/as3-xml-grid-multipages-gallary/325688/1 "2011-10-30T18:59:06Z")

</div>

Dear Readers!  
I am new to AS3, i am creating a gallary and stuck on a place, have a look on source  
Attachment:  
[rapidshare.com/files/1230054980/multi\_page.zip](http://rapidshare.com/files/1230054980/multi_page.zip)

Requirements:  
1.) Can anybody prepare a nice loop for loading all thumbs, most importent it should be physically seprated, should not be looped via code.  
or any other way to compact such lenghty coding.

2.) when i click on 1st button i must load first 4 thumbnails(which is already loaded), and with 2nd button it must load next 4 thumbnails from xml file, simirlerly with 3rd.  
Kindly help me out

Regards
