On

onMouseDown I want it to track mouse x and y pos, but onMouseUp I would like it to stop…This is as far as I got? Help a brother out.


disc.discRight.onMouseDown = function():Void {
 trace("discRight");
 mouseListener.onMouseMove = function() {
     xpos.text = this._x = _xmouse;
     ypos.text = this._y = _ymouse;
     updateAfterEvent();
 };
 Mouse.addListener(mouseListener);

};