if( child.isReleased() ) {
warnln( "WARNING: scenegraph removeChild from " + this + " on already released child " + child + "." );
} else {
m_children.removeElement( child );
m_childArray = null;
ChildrenEvent childrenEvent = new ChildrenEvent( this, ChildrenEvent.CHILD_REMOVED, child );
ChildrenListener[] childrenListeners = getChildrenListeners();
for( int i=0; i<childrenListeners.length; i++ ) {
childrenListeners[ i ].childRemoved( childrenEvent );
}
}