-
Wazap. Check out my site.
Deleting a movieclip
I need to know the action script to delete a movieclip if I click on it. I need to delete it write out of the animation, so it can't be seen again, or perform its duties that it was going to do.
-
Hey Timmy!!!
Well that well depend if its dynmatically loaded or just there. If its loaded you'll need to use removeMovieClip(). Its in the timeline all ready, I'd recommand using the _visible property and setting it to false.
-
Wazap. Check out my site.
AAAHHHH!!! I don't understand! I tried it, but it STILL doesn't work! AAHH! I HATE FLASH MX! AAHH! AAAAHHHH!
-
Hey Timmy!!!
Well how is the movieclip on the screen. Did you physical put it there or did you use action script?
-
FK'n_dog
fwiw...you can remove a clip (set physically or dynamically) by first swapping its
depth, then using removeMovieClip -
myClip.swapDepths(10000);
myClip.removeMovieClip();
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|