                 ty = targetBounds.top + targetBounds.height / 2;
             else
                 ty += targetOrigin.y;
-            matrix.translate(tx, ty);	
+            matrix.translate(tx, ty);   
         }
         else
         {

            if (!isNaN(tx) && !isNaN(ty))
                matrix.translate(GRADIENT_DIMENSION / 2, GRADIENT_DIMENSION / 2); // 1638.4 / 2
            
			// Force the length to a absolute minimum of 2. Values of 0, 1, or -1 have undesired behavior	
			if (length >= 0 && length < 2)
				length = 2;
			else if (length < 0 && length > -2)
				length = -2;
            
            // Scale the gradient in the x direction. The natural size is 1638.4px. No need
            // to scale the y direction because it is infinite

     */
    private static var commonMatrix:Matrix = new Matrix();
    
    //--------------------------------------------------------------------------
    //
    //  Properties
    //
    //--------------------------------------------------------------------------

    //----------------------------------
    //  matrix
    //----------------------------------
    
    /**
     *  @private
     */
    override public function set matrix(value:Matrix):void
    {
        scaleX = NaN;
        super.matrix = value;
    }

    //----------------------------------
    //  scaleX
    //----------------------------------
    
