Topic: Where to put the Multiple_Galleries.fla code?

Okey so first off a big thank You for this product.

However I don't get where I would insert the multiple galleries code in another .fla? Like the SimpleViever.fla, Is it supposed to be ahead of the preloader or in the "Actions"?

Hope you understand my questing, kinda new at this.

Thanks anyway!
Razzie

(Multiple_galleries.fla code)

//Example of loading multiple SimpleViewer swfs into another flash movie.
//set width and height of SimpleViewer swf
_global.SVStageWidth = 640;
_global.SVStageHeight = 420;

//Set button actions
mcGal1.onRelease = function(){
    loadGallery("gallery1.xml");   
}

mcGal2.onRelease = function(){
    loadGallery("gallery2.xml");       
}

function loadGallery(galName){
    _root.xmlDataPath = galName; 
    mcLoader.loadMovie("viewer.swf");
}

//load first gallery
loadGallery("gallery1.xml");