View Single Post
  #1 (permalink)  
Old 07-15-2007, 06:39 AM
1R1 1R1 is offline
Senior Member
 
Join Date: Mar 2007
Posts: 163
Default removeMovieClip() not working???

I have some code below which creates a movieclip:

if(_root.help == undefined){
_root.createEmptyMovieClip("help", 0);
}
_root.help.setDepthAbove(_root.content);
_root.help.loadMovie("flashmx/help.swf");
_root.help.preloader(_root.preloaderTxt, bar, "loading", callBack);

I then have the following code within this newly created mc which I wish to unload or delete the mc:

btnClose.onPress = function():Void {
_root.help.removeMovieClip();
_root.main.menu_mc.gotoAndPlay("fadeout");
}

The button when pressed plays the animation but does not remove the movie from view any thoughts?
Reply With Quote