             }
             
             setBitmapData(bitmapData, bitmapCreated);
-            			
-			dispatchFillChangedEvent("source", oldValue, value);
-        }
-	}
-
-	//----------------------------------
-	//  smooth
-	//----------------------------------
-
-	private var _smooth:Boolean = false;
-	
-	[Inspectable(category="General")]
-	[Bindable("propertyChange")]	
-	
-	/**
-	 *  A flag indicating whether to smooth the bitmap data
-	 *  when filling with it.
-	 *
-	 *  @default false
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
-	 */
-	public function get smooth():Boolean
-	{
-		return _smooth;
-	}
-	
-	public function set smooth(value:Boolean):void
-	{
-		var oldValue:Boolean = _smooth;
-		if (value != oldValue)
-		{
-			_smooth = value;
-			dispatchFillChangedEvent("smooth", oldValue, value);
-		}
-	}
-	
-	//----------------------------------
+                        
+            dispatchFillChangedEvent("source", oldValue, value);
+        }
+    }
+
+    //----------------------------------
+    //  smooth
+    //----------------------------------
+
+    private var _smooth:Boolean = false;
+    
+    [Inspectable(category="General")]
+    [Bindable("propertyChange")]    
+    
+    /**
+     *  A flag indicating whether to smooth the bitmap data
+     *  when filling with it.
+     *
+     *  @default false
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get smooth():Boolean
+    {
+        return _smooth;
+    }
+    
+    public function set smooth(value:Boolean):void
+    {
+        var oldValue:Boolean = _smooth;
+        if (value != oldValue)
+        {
+            _smooth = value;
+            dispatchFillChangedEvent("smooth", oldValue, value);
+        }
+    }
+    
+    //----------------------------------
     //  transformX
     //----------------------------------
     

        }
    }

	//--------------------------------------------------------------------------
	//
	//  Methods
	//
	//--------------------------------------------------------------------------

	/**
	 *  @private
	 */
	public function begin(target:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
	{		
        var sourceAsBitmapData:BitmapData = _bitmapData;
        
		if (!sourceAsBitmapData)
			return;        
        
        var repeatFill:Boolean = (fillMode == BitmapFillMode.REPEAT); 
        

                _rotation = value;   
            dispatchFillChangedEvent("rotation", oldValue, value);
        }
    }

    //----------------------------------
    //  scaleX
    //----------------------------------
    
    private var _scaleX:Number;
    
    [Bindable("propertyChange")]
    [Inspectable(category="General")]   
    
    /**
     *  The percent to horizontally scale the bitmap when filling,
     *  from 0.0 to 1.0.
     *  If 1.0, the bitmap is filled at its natural size.
     *
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function get scaleX():Number
    {
        return compoundTransform ? compoundTransform.scaleX : _scaleX;
    }
    
    /**
     *  @private
     */  
    public function set scaleX(value:Number):void
    {
        if (value != scaleX)
        {
            var oldValue:Number = scaleX;

            if (compoundTransform)
