      */
     public function set fillMode(value:String):void
     {
-        var oldValue:String = _fillMode; 
+    	var oldValue:String = _fillMode; 
         if (value != _fillMode)
         {
             _fillMode = value;

        }
    }
    
    //----------------------------------
    //  originX
    //----------------------------------

    private var _originX:Number = 0;

    [Bindable("propertyChange")]
    [Inspectable(category="General")]   
    [Deprecated(replacement="transformX", since="4.0")]
    
    /**
     *  The horizontal origin for the bitmap fill.
     *  The bitmap fill is offset so that this point appears at the origin.
     *  Scaling and rotation of the bitmap are performed around this point.
     *
     *  @default 0 
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function get originX():Number
    {
        return transformX;
    }
    
    public function set originX(value:Number):void
    {
        transformX = value;
    }
    
    //----------------------------------
    //  originY
    //----------------------------------

    private var _originY:Number = 0;

    [Bindable("propertyChange")]
    [Inspectable(category="General")]   
    [Deprecated(replacement="transformY", since="4.0")]
    
    /**
     *  The vertical origin for the bitmap fill.
     *  The bitmap fill is offset so that this point appears at the origin.
     *  Scaling and rotation of the bitmap are performed around this point.
     *
     *  @default 0 
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function get originY():Number
    {
        return transformY;
    }
    
    public function set originY(value:Number):void
    {
        transformY = value;
    }

    //----------------------------------
    //  offsetX
    //----------------------------------

    [Bindable("propertyChange")]
    [Inspectable(category="General")]   
    [Deprecated(replacement="x", since="4.0")]
    
    /**
     *  How far the bitmap is horizontally offset from the origin.
     *  This adjustment is performed after rotation and scaling.
     *
     *  @default 0
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function get offsetX():Number
    {
        return isNaN(x) ? 0 : x;
    }
    
    public function set offsetX(value:Number):void
    {
        var oldValue:Number = isNaN(x) ? 0 : x; // Avoid warning since the offsetY getter is deprecated
        x = value;
        dispatchFillChangedEvent("offsetX", oldValue, value);
    }

    //----------------------------------
    //  offsetY
    //----------------------------------

    [Bindable("propertyChange")]
    [Inspectable(category="General")]   
    [Deprecated(replacement="y", since="4.0")]
    
    /**
     *  How far the bitmap is vertically offset from the origin.
     *  This adjustment is performed after rotation and scaling.
     *
     *  @default 0
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function get offsetY():Number
    {
        return isNaN(y) ? 0 : y;
    }
    
    public function set offsetY(value:Number):void
    {
        var oldValue:Number = isNaN(y) ? 0 : y; // Avoid warning since the offsetY getter is deprecated
        y = value;
        dispatchFillChangedEvent("offsetY", oldValue, value);
    }

    //----------------------------------
    //  repeat
    //----------------------------------

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

    [Deprecated(replacement="fillMode", since="4.0")]
    
    /**
     *  Whether the bitmap is repeated to fill the area.
     *  Set to <code>true</code> to cause the fill to tile outward
     *  to the edges of the filled region.
     *  Set to <code>false</code> to end the fill at the edge of the region.
     *
     *  @default true
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function get repeat():Boolean
    {
        return _fillMode == BitmapFillMode.REPEAT; 
    }
    
    public function set repeat(value:Boolean):void
    {
        var oldValue:Boolean = (_fillMode == BitmapFillMode.REPEAT);  
        if (value != oldValue)
        {
            //Setting repeat just sets fillMode to repeat 
            fillMode = value ? BitmapFillMode.REPEAT : BitmapFillMode.SCALE; 
            dispatchFillChangedEvent("repeat", oldValue, value);
        }
    }
    
    //----------------------------------
    //  fillMode
    //----------------------------------


    //  compoundTransform
    //----------------------------------
    
    protected var compoundTransform:CompoundTransform;        
    
    //----------------------------------
