CS3 AS2 image gallery doesn't go away

Hi all, Im a new member to kirupa and have very basic knowledge of flash, so any help would be great.

Using Flash CS3, AS2

I followed this great tutorial teaching how to create an image gallery in flash. I have created a gallery on my site in a separate scene, then created some links to that scene. The actual gallery works great. The only problem is, after I have visited that gallery, it remains on every scene I go to after that. I need it to disappear once i come out of the gallery scene. I think the code is correct as it works nicely, it may just be a matter of closing the gallery code.

Tutorial source - http://www.republicofcode.com/tutori...lery/index.php

link to .fla file - http://rapidshare.com/files/422276740/DS_gallery_test.fla

If you click on brands > then the rossetto logo, at the bottom of the page the view gallery button should take you there. Once navigating off of that gallery to any other scene, the gallery remains.

Please check below for the code I have for the gallery.


stop();

import mx.transitions.Tween;
import mx.transitions.easing.*;

this.createEmptyMovieClip("container",1);

var imagesNumber:Number = 10;
var scrolling:Boolean = true;

for (i=1; i<=imagesNumber; i++) {
container.attachMovie("thumb"+i,"thumb"+i+"_mc",i);
myThumb_mc = container["thumb"+i+"_mc"];
myThumb_mc._x = (i-1)*myThumb_mc._width;
myThumb_mc._y = (Stage.height-myThumb_mc._height)/2
myThumb_mc._alpha=50;
myThumb_mc.largerImage = i;
myThumb_mc.onRollOver = function(){
this._alpha=100;
}
myThumb_mc.onRollOut = function(){
this._alpha=50;
}
myThumb_mc.onRelease = function(){
this._alpha=50;
for (i=1; i<=imagesNumber; i++) {
var myClip = container["thumb"+i+"_mc"];
myClip.enabled = false;
}
scrolling = false;
	_root.attachMovie("image"+this.largerImage,"large_mc",2);
large_mc._x = (Stage.width - large_mc._width)/2;
large_mc._y = (Stage.height - large_mc._height)/2.22;
new Tween(large_mc,"_alpha",Strong.easeOut,0,100,0.5,true);
new Tween(container,"_alpha",Strong.easeOut,100,50,0.5,true);
large_mc.onRelease = function(){
scrolling = true;
var myFadeOut = new Tween (large_mc,"_alpha",Strong.easeOut, 100,0,0.5,true);
new Tween(container,"_alpha",Strong.easeOut,50,100,0.5,true);
myFadeOut.onMotionFinished=function(){
for (i=1; i<=imagesNumber; i++) {
var myClip = container["thumb"+i+"_mc"];
myClip.enabled = true;
}
large_mc.removeMovieClip();
}
};
};
}
container.onEnterFrame = function (){
if (scrolling) {
this._x += Math.cos((-_root._xmouse/Stage.width)*Math.PI)*7;
if (this._x>0) {
this._x = 0;
}
if (-this._x>(this._width-Stage.width)) {
this._x = -(this._width-Stage.width);
}
}
};

Any suggestions or ideas are really appreciated.

Thanks