         dispatchPropertyChangeEvent("x", oldValue, value);
 
         xChanged = true;
-
+        invalidateProperties();
         // Parent layout takes transform into account
         invalidateParentSizeAndDisplayList();
-
-        // TODO EGeorgie: apply the transform properties in commitProperties
-        // instead of in setActualSize, setActualPosition.
-        // invalidateProperties();
     }
 
     //----------------------------------

        dispatchPropertyChangeEvent("includeInLayout", oldValue, value);
            
        invalidateParentSizeAndDisplayList();
        // TODO EGeorgie: if the displayObject is shared, we need to
        // invalidateDisplayList();
    }

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

                visibleChanged = false;
                displayObject.visible = _visible;
            }
            
            if (_matrix || scaleXChanged || scaleYChanged ||
                rotationChanged || transformXChanged || transformYChanged)
            {
                commitScaleAndRotation();
            }

            if (xChanged || yChanged)
                commitXY();
        }
    }

