      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public function get layer():Number
-    {
-        return (_layoutFeatures == null)? 0:_layoutFeatures.layer;
+    public function get depth():Number
+    {
+        return (_layoutFeatures == null)? 0:_layoutFeatures.depth;
     }
 
     [Bindable("layerChange")]
     /**
      * @private
      */
-    public function set layer(value:Number):void
-    {
-        if(value == layer)
+    public function set depth(value:Number):void
+    {
+        if(value == depth)
             return;
         if(_layoutFeatures == null) initAdvancedLayoutFeatures();
-        _layoutFeatures.layer = value;      
+        _layoutFeatures.depth = value;      
         dispatchEvent(new FlexEvent("layerChange"));
         if(parent != null && parent is UIComponent)
             (parent as UIComponent).invalidateLayering();

     *  Defines a set of adjustments that can be applied to the component's transform in a way that is 
     *  invisible to the component's parent's layout. For example, if you want a layout to adjust 
     *  for a component that will be rotated 90 degrees, you set the component's <code>rotation</code> property. 
     *  If you want the layout to <i>not</i> adjust for the component being rotated, you set its <code>offsets.rotationZ</code> 
     *  property.
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function set offsets(value:TransformOffsets):void
    {
        if(_layoutFeatures == null) initAdvancedLayoutFeatures();
        
        if(_layoutFeatures.offsets != null)
            _layoutFeatures.offsets.removeEventListener(Event.CHANGE,transformOffsetsChangedHandler);
        _layoutFeatures.offsets = value;
        if(_layoutFeatures.offsets != null)
            _layoutFeatures.offsets.addEventListener(Event.CHANGE,transformOffsetsChangedHandler);
    }

    /**
     * @private
     */
    public function get offsets():TransformOffsets
    {
        return (_layoutFeatures != null)? _layoutFeatures.offsets:null;
    }

    /**

import mx.events.FlexEvent;
import mx.events.MoveEvent;
import mx.events.PropertyChangeEvent;
import mx.events.ResizeEvent;
import mx.events.StateChangeEvent;
import mx.events.ValidationResultEvent;
import mx.filters.BaseFilter;
import mx.filters.IBitmapFilter;
import mx.graphics.RoundedRectangle;
import mx.geom.Transform;
import mx.geom.TransformOffsets;
import mx.managers.CursorManager;
import mx.managers.ICursorManager;
import mx.managers.IFocusManager;
