Topic: Problem with a loader of simpleviewer

Hi, i building a loader for a multi-sipleviewer list.
I moved 5 gallerys to a different directory (/1, /2, ... /5) and my flash load in the same flash the correct viewer.swf:

on (press) //as of a button
{
loadMovieNum("1/viewer.swf", 8);
}

but i don't know how to change the variable "gXmlDataPath" of the viewer by "1/imageData.xml" unless "imageData.xml".

This is the question. Can i change the "gXmlDataPath" from a different swf (loader, not the viewer.swf). I tried:

on (press)
{
    loadVariables(gXmlDataPath, "1/ImageData.xml");
    loadMovieNum("1/viewer.swf", 8);
}

but don't work.

Please help me!!!  sad