     }
     
 }
-}+}

    //--------------------------------------------------------------------------
    
    /**
     *  @private
     */
    override public function apply(g:Graphics):void
    {
        // No-op. Need to deprecate. Was never implemented for this class
    }
    
    /**
     *  @inheritDoc
     *  
     *  @langversion 3.0

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

    //----------------------------------
    //  scaleX
    //----------------------------------
    
    private var _scaleX:Number;
    
    [Bindable("propertyChange")]
    [Inspectable(category="General")]
    
    /**
     *  The horizontal scale of the gradient transform, which defines the width of the (unrotated) gradient
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function get scaleX():Number
    {
        return _scaleX; 
    }
    
    /**
     *  @private
     */
    public function set scaleX(value:Number):void
    {
        var oldValue:Number = _scaleX;
        if (value != oldValue && !compoundTransform)
        {
            _scaleX = value;
            dispatchGradientChangedEvent("scaleX", oldValue, value);
        }
    }
    
    //----------------------------------
