         // but some need to react to even this early change.
         if (child is UIComponent)
             UIComponent(child).stylesInitialized();
+            
+        if (child is IVisualElement)
+        {
+            var ancestorDir:String = findAncestorDir(IVisualElement(child));
+            if (child is UIComponent)
+                UIComponent(child).mx_internal::mirrorTree(ancestorDir);
+            else 
+                mirrorElement(IVisualElement(child), ancestorDir);
+        }
     }
 
     /**

    public function set tweeningProperties(value:Array):void
    {
        _tweeningProperties = value;
    }

    //--------------------------------------------------------------------------

        features.layoutX = x;
        features.layoutY = y;
        features.layoutZ = z;
        features.layoutWidth = width;
        _layoutFeatures = features;
        invalidateTransform();
    }
