# Photo Gallery + XML

**URL:** <https://forum.kirupa.com/t/photo-gallery-xml/244231>\
**Category:** flash\
**Created:** [November 15, 2007, 1:54pm UTC](https://forum.kirupa.com/t/photo-gallery-xml/244231 "2007-11-15T13:54:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JulyChurches](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@JulyChurches](https://forum.kirupa.com/u/JulyChurches)\
**Post date:** [November 15, 2007, 1:54pm UTC](https://forum.kirupa.com/t/photo-gallery-xml/244231/1 "2007-11-15T13:54:40Z")

</div>

i’ve worked through the following great tut:  
[http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)

In the actionscript, how can i add a photographers name so that it sits just below the main image name on the left with an instance name of “photo\_desc” on a new dynamic text field?

heres what im trying to add in the xml file

```auto

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
    <pic>
        <image>photos/image1.jpg</image>
        <caption>image 1 name</caption>
        <photo>Photo by: whoever</photo>
    </pic>
    <pic>
        <image>photos/image2.jpg</image>
        <caption>image 2 name</caption>
        <photo>Photo by: whoever</photo>
    </pic>
</images>

```

can anyone help me? thanks
