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