CP Web Hosting
CP Web Hosting
 

Go Back   Hosting Forums - cp web hosting > Browser Scripting, HTML, XML and Multimedia > FLASH
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-15-2007, 06:39 AM
1R1 1R1 is offline
Senior Member
 
Join Date: Mar 2007
Posts: 164
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
  #2 (permalink)  
Old 07-15-2007, 06:40 AM
Senior Member
 
Join Date: May 2007
Posts: 151
Default using unloadMovieClip()

try using unloadMovieClip(); now perhaps it will work.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:19 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0