|
-
Master of all chickens
Why, why, why?
I have a balloon. When I press on it it has to be removed. So I use this code.
Code:
on (press) {
_root.removeMovieClip("balloon1");
}
Now I wonna know why it doesn't work. Can anybody tell me that?
-
Senior Member
as far as I can see, you can only "removeMovieClip" that you have loaded dynamically with script (attachMovie("blue", "blue1", 1); (frame action)
then you need to put script (on a button) like this
on(press){
removeMovieClip("_root.blue1");
}
Is this true?
When I test it,
_root.removeMovieClip("blue1"); does not work, but removeMovieClip("_root.blue1"); does.
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
|