 
 import flash.display.GradientType;
 import flash.display.Graphics;
-import mx.core.mx_internal;
+import flash.geom.Matrix;
+import flash.geom.Rectangle;
+import mx.skins.RectangularBorder;
 
 /**
  *  The LinearGradientStroke class lets you specify a gradient filled stroke.

     *  <code>LineScaleMode.NONE</code>, <code>LineScaleMode.NORMAL</code>,
     *  and <code>LineScaleMode.VERTICAL</code>.
     *  This parameter is optional,
     *  with a default value of <code>LineScaleMode.NORMAL</code>. 
     *
     *  @param caps A value from the CapsStyle class
     *  that specifies the type of caps at the end of lines.

     */
    public function LinearGradientStroke(weight:Number = 0,
                                         pixelHinting:Boolean = false,
                                         scaleMode:String = "none",
                                         caps:String = null,
                                         joints:String = null,
                                         miterLimit:Number = 0)
    {
        super(weight, pixelHinting, scaleMode, caps, joints, miterLimit);
        
        matrix = new Matrix();
    }
     
    
    //--------------------------------------------------------------------------
    //
    //  Methods
    //
    //--------------------------------------------------------------------------

	[Deprecated(replacement="draw")]

    /**
     *  Applies the properties to the specified Graphics object.
