PDA

View Full Version : clear the movieclips



amisha
07-21-2007, 10:06 AM
I am trying to develop Blackjack game. I have randomly selected the cards and animated it. But the problem is when I click on the back button it goes to previous screen but shows the cards.
How to clear the movie clips which I have attached randomly

paul_rees101
07-21-2007, 11:24 AM
clip = attachMovie("ball", ball, 1);

function removeClip(myClip){
btn.onPress = function(){
clip.removeMovieClip();
}
}
removeClip(clip);