# \[FMX04\] Gallery + Menu loadimg from XML

**URL:** <https://forum.kirupa.com/t/fmx04-gallery-menu-loadimg-from-xml/215556>\
**Category:** flash\
**Created:** [February 8, 2007, 5:56am UTC](https://forum.kirupa.com/t/fmx04-gallery-menu-loadimg-from-xml/215556 "2007-02-08T05:56:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anetalaya](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Anetalaya](https://forum.kirupa.com/u/Anetalaya)\
**Post date:** [February 8, 2007, 5:56am UTC](https://forum.kirupa.com/t/fmx04-gallery-menu-loadimg-from-xml/215556/1 "2007-02-08T05:56:40Z")

</div>

I have combined the almighty popular xml gallery from kirupa tutorials with an XML menu from here as well (one of the many, don´t remember the thread, sorry).

Why? Well, the xml gallery load the first swf file (not using jpgs) and can browse it with the next/back button plues the arrow keys. Great.

The menu, loads from the same xml file, from the same nodes information, and it works as a “jump” menu, to go straight to certain swf. Perfect.

Separeted works great, BUT (yup, there was a question!) if I jump to a swf from the menu, when I press the arrow keys or use the button, it doesnt go to the next swf but to the next swf from where the gallery script was left.

I am out of ideas, and I atteched a sample, in case you didn´t understood what the heck am I saying.

Thank you for your attention and help.
