_rotation easing with AS

Hi, everyone!

onClipEvent (load) {
targetx = 34;
delay = 8;
onClipEvent (enterFrame) {
distx = targetx-_x;
disty = targety-_y;

  _x += distx/delay;
_y += disty/delay;

This is the code used for manipulating the background image using buttons with defined x and y; I want to add the rotation as well, and it does rotate the image, since I’ve defined the individual rotations within buttons’ script, but I cannot get it to delay; it instantly jumps to the given rotation, and then already rotated delays to the given x and y. Any ideas? Thx!