Here's some code:
Code:
onClipEvent (enterFrame) {
	GotoX = Stage.width/2;
	GotoY = Stage.height/2;
	DifferenceX = _x-GotoX;
	DifferenceY = _y-GotoY;
	_rotation = -Math.atan2(DifferenceX, DifferenceY)/(Math.PI/180);
}
I hope it helps.