Main.swf creates a new instance of the SuperMan Class.
I’m trying to get the SuperMan class to remove itself when you push a button that the class creates. I’m using:
removeChild(this);
However I am getting the error:
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
Is this even possible? How can I do it?