Jul 25, 2002 #1 Thoe99 Programmer May 11, 2001 119 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 Oct 2, 2000 343 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 Jul 23, 2001 1,906 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 Oct 2, 2000 343 GB Or you could do that ... Upvote 0 Downvote
Jul 26, 2002 #5 wangbar Programmer Jul 23, 2001 1,906 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 Jul 23, 2001 1,906 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