brisque
11-08-2007, 11:05 PM
hey. lets say i have a movieclip of a beach ball, and i have it startDrag() on mousedown like so:
beachball.addEventListener(MouseEvent.MOUSE_DOWN, moveBall);
function moveBall(event:Event):void {
beachball.startDrag();
}
i want it so while the beachball is being dragged around, it trace()'s the ball's X and Y coordinates out. how do i make an event listener for when the beachball is under a startDrag() status?
beachball.addEventListener(MouseEvent.MOUSE_DOWN, moveBall);
function moveBall(event:Event):void {
beachball.startDrag();
}
i want it so while the beachball is being dragged around, it trace()'s the ball's X and Y coordinates out. how do i make an event listener for when the beachball is under a startDrag() status?