 package spark.primitives
 {
 
-import flash.events.EventDispatcher;
 import flash.display.Graphics;
-import flash.geom.Rectangle;
+import flash.geom.Matrix;
 import flash.geom.Point;
-import flash.geom.Matrix;
+
+import mx.core.mx_internal;
 import mx.utils.MatrixUtil;
+
 import spark.primitives.supportClasses.FilledElement;
+
+use namespace mx_internal;
 
 /**
  *  The Ellipse class is a filled graphic element that draws an ellipse.

    override public function getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
    {
        var strokeExtents:Point = getStrokeExtents(postLayoutTransform);
        var m:Matrix = postLayoutTransform ? computeMatrix() : null;
        if (!m)
            return strokeExtents.y * -0.5 + this.y;


     *  @playerversion AIR 1.5
     *  @productversion Flex 4
     */
    override protected function draw(g:Graphics):void
    {
        g.drawEllipse(drawX, drawY, width, height);
    }
