Displaying x and y of an object in dynamic text field

Hi

I am trying to create dynamic text field that would show x and y properties of an object (movie clip) that user can move around. I have object moving (drag&drop and keyboard controls) but how do i make text field that shows cordinates that are changing based on users interaction

thanx in advance.

have a nice day