11 Replies Latest reply on Oct 10, 2007 6:39 AM by kglad

    draw arc and using mouse events

      Hi,

      i have drawn an arc using the ascb library, but i cant seem to get any mouse events to work. Just curious if this is possible.

      I have tested using other methods (not in ascb), and mouse events have worked. Is it because these are Sprite?

      At the moment i have:
      var pen:Pen = new Pen(graphics);
      pen.drawArc(xc,yc,radius,wAngle,sAngle,rLines);

      and i would like to add something like:
      pen.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);

      but the compiler complains.

      Any help much appreciated.