nel ultimo frame della scena gallery del filmato principale metto:

function carica(filmato) {
this.vuotogallery.loadMovie(fimato+".swf");
this.onEnterFrame = function() {
car = this.vuotogallery.getBytesLoaded();
tot = this.vuotogallery.getBytesTotal();
perc = Math.round((car*100)/tot);
barra._xscale = perc;
if (tot != undefined) {
if (car == tot) {
delete this.onEnterFrame;
this.vuotogallery.play();
}
}
};
}

stop();

al pulsante che sta nel filmato principale:
on (release) {
_root.vuotogallery.carica("foto1");
}


il filmato da caricare è foto1.swf

dove sbaglio qualcuno sa aiutarmi