right now, if i click the redBall, it goes right to the second function. is there a way to basically make it go to the x,y coordinates in moveBall THEN from there get clicked and go to the x,y coordinates in hitBall?
function moveBall (Event:MouseEvent):void{
redBall_mc.x = 72;
redBall_mc.y = 119
}
redBall_mc.addEventListener(MouseEvent.CLICK, moveBall);
function hitBall (Event:MouseEvent):void{
redBall_mc.x = 480;
redBall_mc.y = 130
}
redBall_mc.addEventListener(MouseEvent.CLICK, moveBall);