Jul 25, 2002 #1 Thoe99 Programmer Joined May 11, 2001 Messages 119 Location US I have movieclip_B inside movieclip_A. How would I unload movieclip_B from movieclip_A, once movieclip_B hits frame 15?
I have movieclip_B inside movieclip_A. How would I unload movieclip_B from movieclip_A, once movieclip_B hits frame 15?
Jul 26, 2002 1 #2 rgstewart Technical User Joined Oct 2, 2000 Messages 343 Location GB You can't remove a movieClip unless it has been programmatically placed using either duplicateMovieClip() or attachMovieClip(). What you CAN do is just stop the clip and hide it. Place this code on movieClip B: onClipEvent (enterFrame) { if (this._currentframe == 15) { stop(); this._visible = false; } } That should do the trick. Upvote 0 Downvote
You can't remove a movieClip unless it has been programmatically placed using either duplicateMovieClip() or attachMovieClip(). What you CAN do is just stop the clip and hide it. Place this code on movieClip B: onClipEvent (enterFrame) { if (this._currentframe == 15) { stop(); this._visible = false; } } That should do the trick.
Jul 26, 2002 1 #3 wangbar Programmer Joined Jul 23, 2001 Messages 1,906 Location GB Or just stick a stop() in frame 15 and make sure there's no content in it, saves burning cycles on a clipEvent. Slainte http://www.wangbar.co.uk Upvote 0 Downvote
Or just stick a stop() in frame 15 and make sure there's no content in it, saves burning cycles on a clipEvent. Slainte http://www.wangbar.co.uk
Jul 26, 2002 #4 rgstewart Technical User Joined Oct 2, 2000 Messages 343 Location GB Or you could do that ... Upvote 0 Downvote
Jul 26, 2002 #5 wangbar Programmer Joined Jul 23, 2001 Messages 1,906 Location GB As I've told many times K.I.S.S LOL Slainte http://www.wangbar.co.uk Upvote 0 Downvote
Jul 26, 2002 #6 wangbar Programmer Joined Jul 23, 2001 Messages 1,906 Location GB I mean as I've been told many times. I've also been told many times to learn to type properly... Slainte http://www.wangbar.co.uk Upvote 0 Downvote
I mean as I've been told many times. I've also been told many times to learn to type properly... Slainte http://www.wangbar.co.uk