How to remove the movieclip by removeChild and later on clean the array for refresh purposes?
for (var t:int=0; t<8; t++) {
circlesArray[2][t].removeChild(MovieClip)
}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ok so you have a circlesArray containing circle movieclips? Assuming the movieclips were added to the stage then:
If you want to clear the whole array then simply
This will clear the entire array but you may not want this since you seem to have other data in your multidimension array.