[MX]How to calculate distance for draggable content

How do you calculate the distance for a movieclip that you ant to drag in relation to the stage