amcquade
10-24-2004, 09:58 PM
I trying to use the code by Ben Lowry on how to create a sequence of bubbles, which can be found at:
http://www.actionscript.org/showMovie.php?id=1078
I created a button for my users to place bubbles onto the stage:
on (release) {
part3.attachMovie("b4","Bubbles2", 1);
}
But I can't seem to create the opposite effect where they can take it off. I've tried many things including:
on (release) {
part3.Bubbles2.removeMovieClip();
}
//or
for(i=0; i< _root.bubbles.length; ++i) {
removeMovieClip(_root["Bubbles2"+i]);
}
----------
Am I barking up the wrong tree with the remove movie clip command?
Many thanks in advance.
Al
http://www.actionscript.org/showMovie.php?id=1078
I created a button for my users to place bubbles onto the stage:
on (release) {
part3.attachMovie("b4","Bubbles2", 1);
}
But I can't seem to create the opposite effect where they can take it off. I've tried many things including:
on (release) {
part3.Bubbles2.removeMovieClip();
}
//or
for(i=0; i< _root.bubbles.length; ++i) {
removeMovieClip(_root["Bubbles2"+i]);
}
----------
Am I barking up the wrong tree with the remove movie clip command?
Many thanks in advance.
Al