      */
     mx_internal function elementRemoved(element:IVisualElement, index:int):void
     {
-        var childDO:DisplayObject = element as DisplayObject;
-        
+        var childDO:DisplayObject = element as DisplayObject;   
+                
         dispatchEvent(new ElementExistenceEvent(
                       ElementExistenceEvent.ELEMENT_REMOVE, false, false, element, index));
         

            }
        }
        
        _mxmlContent = value;
        
        if (_mxmlContent != null)
        {

    mx_internal function elementAdded(element:IVisualElement, index:int):void
    {
        var child:DisplayObject;
        
        if (layout)
            layout.elementAdded(index);        
                
        if (element.layer != 0)
            invalidateLayering();
