-
Goober
Unload anything in a specific movieclip?
I have a blank movie clip in my main movie that on the click of some buttons will load something into it, but when other buttons are clicked I need to make whatever is in there unload. Is there a way you can tell it to unload whatever is in that movie clip? Or do I need to just write out an if/else statement to check whats there and unload it?
<3 Julie
AIM: Julie3360
YIM: TheAtarisR0ck
I'm always asking for help so I thought it would be appropriate to give a big THANK YOU to anyone who's ever helped me!
-
Hi,
When you load something new into a movie clip it replaces everthing that was in there. So no need to unload it.everything
-
Goober
Hi, I noticed that it does that but I have two movie clip that I am loading things into some buttons will load things into both, other buttons will only load things into 1. So on the buttons that are only loading something into 1, I need to find a way to make sure that whatever is in the other MC is unloaded. Any ideas?
<3 Julie
AIM: Julie3360
YIM: TheAtarisR0ck
I'm always asking for help so I thought it would be appropriate to give a big THANK YOU to anyone who's ever helped me!
-
Use unloadMovie("target"), or MovieClip.unloadMovie();
No need for an if statement.
(You can't really go wrong with Actionscript anyway)
Ha, ha! He is one of the Legion Lost;
He was never meant to win;
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
|