# Counting not working with the XML photo gallery

**URL:** <https://forum.kirupa.com/t/counting-not-working-with-the-xml-photo-gallery/141728>\
**Category:** Uncategorized\
**Created:** [March 22, 2005, 6:01pm UTC](https://forum.kirupa.com/t/counting-not-working-with-the-xml-photo-gallery/141728 "2005-03-22T18:01:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![atle\_mo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/atle_mo/32/1198_2.png) [@atle\_mo](https://forum.kirupa.com/u/atle_mo)\
**Post date:** [March 22, 2005, 6:01pm UTC](https://forum.kirupa.com/t/counting-not-working-with-the-xml-photo-gallery/141728/1 "2005-03-22T18:01:13Z")

</div>

Hello!

So, after I completed the [XML Photo Gallery Tutorial](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm), I wanted to implement it to a little project.

I’ve searched around but can’t find the answer to this one. Should be an easy question to answer 😉

So, I’ve made an swf that uses the Gallery, and thats working just fine. But when I load that Swf thru a “main” swf, the captions and counting won’t work! It’s like:

\_root.container -\> then the XML gallery.  
ex: \_root.container.[color=DarkOrange]desc\_txt [color=Black]where desc\_txt is in the XML gallery.

Get my point? The textboxes are displaying, but just not actice.  
I’m using MX 2004.

Thanks for any help!  
[/color][/color]
