Call to different gallery within 1 xml

Hi, i’ve created a static image thumbnail gallery that calls to an xml gallery to load the larger images… but im not sure how to do it without loading an xml for each gallery which has a fade/slideshow timer in each xml.

how can i include all the galleries in the same xml?

this is the code to mickey moused together - but im going to end up with 29 xmls…


onEnterFrame = function () {
if (_root.colbig == 1) {
images_xml = new XML();
images_xml.ignoreWhite = true;
images_xml.onLoad = parse;
images_xml.load(“acasa.xml”);
_root.colbig = 0;
_root.pageno = 1;
} else if (_root.colbig == 2) {
images_xml = new XML();
images_xml.ignoreWhite = true;
images_xml.onLoad = parse;
images_xml.load(“bomb.xml”);
_root.colbig = 0;
_root.pageno = 2;
}
};

  • i know there has to be a more efficient way.