im trying to draw a line to a ball that i create but it just keeps making new lines. I though i saw a way to stop that putting a clear() in. this is my code
lineStyle(1);
attachMovie("ball", "ball", 0);
onEnterFrame = function () {
moveTo(ball._x, ball._y);
lineTo(_xmouse, _ymouse);
};