 import mx.events.FlexEvent;
 import mx.events.MoveEvent;
 import mx.events.PropertyChangeEvent;
-import mx.events.PropertyChangeEventKind;
 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.graphics.RoundedRectangle;
 import mx.managers.CursorManager;
 import mx.managers.ICursorManager;
 import mx.managers.IFocusManager;

     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function get layer():Number
    {
        return (_layoutFeatures == null)? 0:_layoutFeatures.layer;
    }

    [Bindable("layerChange")]
    /**
     * @private
     */
    public function set layer(value:Number):void
    {
        if(value == layer)
            return;
        if(_layoutFeatures == null) initAdvancedLayoutFeatures();
        _layoutFeatures.layer = 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>postLayoutTransformOffsets.rotationZ</code> property.
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function set postLayoutTransformOffsets(value:TransformOffsets):void
    {
        if(_layoutFeatures == null) initAdvancedLayoutFeatures();
        
        if(_layoutFeatures.postLayoutTransformOffsets != null)
            _layoutFeatures.postLayoutTransformOffsets.removeEventListener(Event.CHANGE,transformOffsetsChangedHandler);
        _layoutFeatures.postLayoutTransformOffsets = value;
        if(_layoutFeatures.postLayoutTransformOffsets != null)
            _layoutFeatures.postLayoutTransformOffsets.addEventListener(Event.CHANGE,transformOffsetsChangedHandler);
    }

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

    /**
