Is there any function in AS 3.0 that plays a MovieClip and then does removeChild() after it has been played? I don´t want to stop() it i just want to remove the child from stage.
Share
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.
As a code example, suggested by Sr.Richie, here is what is required:
Inside the MC to play and remove, add this frame code:
Note I haven’t tested this code, but it’s the general idea.