# Xml AS thumbnail gallery

**URL:** <https://forum.kirupa.com/t/xml-as-thumbnail-gallery/35917>\
**Category:** Uncategorized\
**Created:** [November 19, 2003, 5:11pm UTC](https://forum.kirupa.com/t/xml-as-thumbnail-gallery/35917 "2003-11-19T17:11:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![frederique](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@frederique](https://forum.kirupa.com/u/frederique)\
**Post date:** [November 19, 2003, 5:11pm UTC](https://forum.kirupa.com/t/xml-as-thumbnail-gallery/35917/1 "2003-11-19T17:11:38Z")

</div>

Hello, I hope someone can spare a little time to help me. I am building a xml photogallery which displays thumbnails which you click on to display a larger pic. I have an XML file, partly shown below. I then have two buttons ‘faces’ and ‘freedom’. When you click freedom flash needs to locate the relevant xml and display it. The same goes for the other button. I have got as far as loading the xml into flash by creating an xml object using flash MX.

[AS]\<?xml version=“1.0” encoding=“UTF-8”?\>  
\<xml\>  
\<mainmenu name=“faces” id=“1”\>  
\<pictures\>  
\<PICTURE NAME=“1” THUMB=“tn\_faces\_01.jpg” IMAGE=“faces\_1\_p.jpg” TEXT=“test1” /\>  
\<PICTURE NAME=“2” THUMB=“tn\_faces\_02.jpg” IMAGE=“faces\_2\_p.jpg” TEXT=“test2” /\>  
\<PICTURE NAME=“3” THUMB=“tn\_faces\_03.jpg” IMAGE=“faces\_3\_p.jpg” TEXT=“test3” /\>  
\</pictures\>  
\</mainmenu\>  
\<mainmenu name=“freedom” id=“2”\>  
\<pictures\>  
\<PICTURE NAME=“1” THUMB=“tn\_freedom\_01.jpg” IMAGE=“freedom\_1\_p.jpg” TEXT=“test1” /\>  
\<PICTURE NAME=“2” THUMB=“tn\_freedom\_02.jpg” IMAGE=“freedom\_2\_p.jpg” TEXT=“test2” /\>  
\<PICTURE NAME=“3” THUMB=“tn\_freedom\_03.jpg” IMAGE=“freedom\_3\_p.jpg” TEXT=“test3” /\>  
\</pictures\>  
\</mainmenu\>  
\</xml\>[/AS]  
Hope this makes some sense.  
Help much appreciated  
Cheers
