I am new at AS3. I use removeChild() to remove something in the stage. But i got a problem.
There is a movieclip named mc in the main stage.
removeChild(this)
is at the 10. frame of mc. But it doesn't work.
Printable View
I am new at AS3. I use removeChild() to remove something in the stage. But i got a problem.
There is a movieclip named mc in the main stage.
removeChild(this)
is at the 10. frame of mc. But it doesn't work.
this.parent.removeChild(this)?
TypeError: Error #1009: Cannot access a property or method of a null object reference.
you may find an answer in my thread: here
I'm about to try it out...
Just type removeChild(mc), it worked by me