Question
error shows up after removing child
so when evil dies it plays a death animation and is removed on the last frame
it works fine but an error show up
The supplied DisplayObject must be a child of the caller.
if(evil.currentFrame == 47)
{
if(contains(evil))
{
removeChild(evil);
}
if(contains(evilShadow))
{
removeChild(evilShadow);
}
}
