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

                if (_transform)
                {
                    _matrix = _transform.matrix.clone();
                    clearTransformProperties();
                    notifyElementLayerChanged();

                    // Parent layout takes transform into account
                    invalidateParentSizeAndDisplayList();

                    // TODO EGeorgie: apply the transform properties in commitProperties
                    // instead of in setActualSize, setActualPosition.
                    // invalidateProperties();
                }
            }
            else if (event.property == "colorTransform")


        scaleXChanged = true;
        notifyElementLayerChanged();
        invalidateProperties();
        // Parent layout takes transform into account
        invalidateParentSizeAndDisplayList();
    }

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