 import mx.events.FlexEvent;
 import mx.events.EventListenerRequest;
 import mx.events.Request;
+import mx.managers.systemClasses.ChildManager;
 import mx.styles.ISimpleStyleClient;
 import mx.styles.IStyleClient;
 import mx.utils.NameUtil;

    {
        var child:DisplayObject = super.getChildAt(index);

        removingChild(child);

        super.removeChildAt(index);

        childRemoved(child);

        return child;
    }

    mx_internal function rawChildren_addChildAt(child:DisplayObject,
                                                index:int):DisplayObject
    {
        // preloader goes through here before childManager is set up
        if (childManager) 
            childManager.addingChild(child);

        super.addChildAt(child, index);

        if (childManager) 
            childManager.childAdded(child); // calls child.createChildren()

        return child;
    }
