                 // to change visibility.
                 invalidateDisplayList();
             }
+        }
+        if (xformOffsets.updatePending ||
+            updateTransform)
+        {
+            commitTransform();
         }
     }
 

     *  Indicates the rotation of the element, in degrees,
     *  from the transform point.
     */
    public function get rotation():Number
    {
        return _rotation;
    }

    /**
     *  @private
     */
    public function set rotation(value:Number):void
    {
        if (_rotation == value)
            return;

        var oldValue:Number = _rotation;
        _rotation = value;
        dispatchPropertyChangeEvent("rotation", oldValue, value);

        rotationChanged = true;
        notifyElementLayerChanged();
        invalidateProperties();
        invalidateParentSizeAndDisplayList();
    }

    //----------------------------------
    //  scaleX
    //----------------------------------

    /**
     *  @private
     *  Storage for the scaleX property.
     */
    mx_internal var _scaleX:Number = 1.0;
    
    /**
     *  @private
     */
    private var scaleXChanged:Boolean;

    [Bindable("propertyChange")]
    [Inspectable(category="General")]

     */
    public function get scaleY():Number
    {
        return xformOffsets.layoutScaleY;
    }

    /**
