AS3 startDrag x y coordinates
Hey guys, not sure if this is possible but i'd like to get the X,Y coordinates of a button I drag. here's my problem:
PHP Code:
public function backbuttonDown(e:MouseEvent)
{
backbutton_btn.startDrag();
}
public function backbuttonMove(e:MouseEvent)
{
trace(backbutton_btn.x +","+backbutton_btn.y);
}
the x and y coordinates remain the same even though i'm clearly dragging my button all over the stage. I did code my own by putting events and whatnot around the button but startDrag seemed smoother and faster. is it even possible?