# Trouble creating three galleries in one swf file using XML

**URL:** https://forum.kirupa.com/t/trouble-creating-three-galleries-in-one-swf-file-using-xml/226671
**Category:** flash
**Created:** [May 23, 2007, 1:32am UTC](https://forum.kirupa.com/t/trouble-creating-three-galleries-in-one-swf-file-using-xml/226671 "2007-05-23T01:32:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![PhoTobes](https://avatars.discourse-cdn.com/v4/letter/p/bc8723/32.png) [@PhoTobes](https://forum.kirupa.com/u/PhoTobes)
#### Post date: [May 23, 2007, 1:32am UTC](https://forum.kirupa.com/t/trouble-creating-three-galleries-in-one-swf-file-using-xml/226671/1 "2007-05-23T01:32:45Z")

</div>

Help. I’ve got a gallery that Kirupa has helped me along with wonderfully. I now have another issue that is preventing me from making this thing work properly. I have attached a zipped file of both the XML and the Actionscript. And here is the link to see what is happening at this point. [http://beta.goodsalt.com](http://beta.goodsalt.com) Here’s what I’m needing to do:

I have 15 images. 5 images need to rotate in a single movie clip inside my flash movie. So I have 3 movie clips rotating 5 different images. The 15 images are in the XML file in three different categories (this will make sense if you look at the XML). I have the gallery kind of working, but the rotation of the images is not working properly. Again, I think all of this will make sense as to what I’m trying to do by looking at the XML and the link above. If anyone could take a look, I’d greatly appreciate it.

As I mentioned in my last post, I’m very new to Actionscript with XML. Hopefully this is a minor fix. The problem, I believe is located in the nextframe function.

Tobin
