After I select a movie from a button, how do I make the movie invisible after it plays?
I'm making a GUI that has three buttons on the stage. The buttons may be selected at random. Each button activates a short animation (movie clip). The movie takes up the entire stage. After the clip plays, I want it to disappear from the stage, allowing the user to select any other (or the same) button/movie clip. So far I have this script. There are no compiler errors nor any syntax errors. However, it still dosn't do what I want. What am I missing? Thanks
movieOne_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void
{
navigateTo.MovieOne.mc;
gotoAndPlay(1);
}
if (MovieOne.mc.complete)
{
gotoAndStop(15);
}
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfIn);
function swfIn(e:Event):void
{
loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, swfIn);
mcExternal = loader.content = MovieClip;
MovieOne.mc.visible = false;
}

