# Loading XML

**URL:** <https://forum.kirupa.com/t/loading-xml/167476>\
**Category:** Uncategorized\
**Created:** [October 28, 2005, 2:44pm UTC](https://forum.kirupa.com/t/loading-xml/167476 "2005-10-28T14:44:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sean1983uk](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@sean1983uk](https://forum.kirupa.com/u/sean1983uk)\
**Post date:** [October 28, 2005, 2:44pm UTC](https://forum.kirupa.com/t/loading-xml/167476/1 "2005-10-28T14:44:34Z")

</div>

I’ve done a recent tutorial to create a photogallery which loads the photos from a xml file…

The problem is:

I have a site with 4 sections, bands, landscapes, portrates and misc.

I’ve imported the gallery as a movie clip and it runs fine. But what i’m trying to do is change the actions within this movie so I can have instances of it ie gallery1, gallery2 etc which load different xml files… I tried just dragging the gallery onto the stage and changing the instance name but when I change the actions to load a different xml file it changes it for all the instances.

Is there a way around this or am I simply doing it wrong. The only other way I can think of would be to copy and paste the gallery movie file and rename it for each xml file but this will take up loads of space surely theres a better way??

Many Thanks

Sean
