How to remove a child from view in actionscript 3.0?
I am working with a movieclip labeled tut_mc and inside it i have a button named tut_x_btn. what i want to happen when the X button clicked is to remove the tut_mc from the main timeline. I do not know much about the child commands in Flash. i know that i will have to access the maintimeline with MovieClip(root) command to remove the movieclip. and also how would you do the opposite when a button in clicked adding a child that exists in the library?