How Do I FULLY Remove a Child in AS3?
I'm making a game where you create springs and I want them to be fully removed when they go off stage. The only way I know how to go about this is "removeChild(thing);" but that just hides it. Is there a way that can actually delete the instance because I'm not sure how. It also displays this error which I don't fuly understand.
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/removeChild()
at MethodInfo-49()
