# XML image gallery — SO CLOSE TO WORKING!

**URL:** <https://forum.kirupa.com/t/xml-image-gallery-so-close-to-working/188168>\
**Category:** Uncategorized\
**Created:** [May 5, 2006, 1:38am UTC](https://forum.kirupa.com/t/xml-image-gallery-so-close-to-working/188168 "2006-05-05T01:38:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![forcetwelve](https://avatars.discourse-cdn.com/v4/letter/f/f19dbf/32.png) [@forcetwelve](https://forum.kirupa.com/u/forcetwelve)\
**Post date:** [May 5, 2006, 1:38am UTC](https://forum.kirupa.com/t/xml-image-gallery-so-close-to-working/188168/1 "2006-05-05T01:38:08Z")

</div>

hi guys.  
i have been searching every xml thread on this site and cant find an answer to what i feel will be a simple problem for someone.

i have used kirupas xml image gallery tutorial. i am calling the gallery.swf into a main swf, in an empty mc. sounds simple right… working ok, excpet the gallery next and back buttons skip images at random.

you can see it working/not working at [http://www.forcetwelve.net/petal](http://www.forcetwelve.net/petal)  
in the gallery section.

the code is identical to the xml tutorial.

i have read that it may be something to do with the listener on the buttons?

any help is SOOOO appreciated. thanks.

AG
