      */
     override public function set rotation(value:Number):void
     {
-        rotationZ = value;
+        if (rotation == value)
+            return;
+        
+        if (layoutFeatures == null)
+        {
+            super.rotation = value;
+        }
+        else
+        {
+            layoutFeatures.layoutRotationZ = value;
+            validateTransformMatrix();
+        }
     }
     
     //----------------------------------

import flash.geom.Matrix;

import mx.core.AdvancedLayoutFeatures;

/**
 *  BitmapAsset is a subclass of the flash.display.Bitmap class

        else
        {
            layoutFeatures.layoutScaleY = value;
            _height = Math.abs(value) * measuredHeight;
            validateTransformMatrix();
        }
    }
