# Problem with Photo Gallery Using XML and Flash

**URL:** <https://forum.kirupa.com/t/problem-with-photo-gallery-using-xml-and-flash/226506>\
**Category:** Uncategorized\
**Created:** [May 21, 2007, 10:57pm UTC](https://forum.kirupa.com/t/problem-with-photo-gallery-using-xml-and-flash/226506 "2007-05-21T22:57:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spidermonkey](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@spidermonkey](https://forum.kirupa.com/u/spidermonkey)\
**Post date:** [May 21, 2007, 10:57pm UTC](https://forum.kirupa.com/t/problem-with-photo-gallery-using-xml-and-flash/226506/1 "2007-05-21T22:57:33Z")

</div>

hello, first post (second if you count a miss post), so hey to everyone!.

im using a tutorial from the flash kirupa website

[http://www.kirupa.com/developer/mx20…otogallery.htm](http://www.kirupa.com/forum/../developer/mx2004/xml_flash_photogallery.htm)

i have completed my gallery and when i preview it i get an ‘undefined’ message in the description text field and the image position text field displays ‘1/0’,  
when i preview the supplied tutorial fla file i get the same message too.  
i have my images.xml and images folder in the same directory as the swf  
and the link paths in the xml are correct.

im using flash8 on a mac,  
although the fla & tutorial is for flash mx/2004, would this be the problem?

im using the unchanged actoinscript from the tutorial.  
not experienced enough yet to be creating anything original

i tried posting the code but it gets all messed up in the forum window

thanks for any help or info on how to get it working.  
sm

---

<div class="post-metadata">

**Author:** ![artlass](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@artlass](https://forum.kirupa.com/u/artlass)\
**Post date:** [May 24, 2008, 4:13pm UTC](https://forum.kirupa.com/t/problem-with-photo-gallery-using-xml-and-flash/226506/2 "2008-05-24T16:13:50Z")

</div>

ok i am focussing until crosseyed; still cannot figure out this same problem…  
give us a hint?

sankyou  
artlass

---

<div class="post-metadata">

**Author:** ![jayson\_senatin](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jayson\_senatin](https://forum.kirupa.com/u/jayson_senatin)\
**Post date:** [May 26, 2008, 4:08pm UTC](https://forum.kirupa.com/t/problem-with-photo-gallery-using-xml-and-flash/226506/3 "2008-05-26T16:08:08Z")

</div>

mine work perfectly as like the example  
did you, maybe change some text inside the xml??

or you might be getting error with this  
"\<?xml version=“1.0” encoding=“utf-8” standalone=“yes”?\>"  
try deleting it!!! i also did try deleting it and still work (i dont know what’s that code for)

and also check that the other code are inside “\<”, “\</” and “\>”

and be sure your XML are save in the same folder as where your flash file are save.

:bounce:  
anyway I’m new in here  
so hello everybody:angel:
