onClipEvent troubles

I’m trying to get my movie clip to ease into position with the below AS and then delete the actions, but it’s not working. What am I doing wrong?

onClipEvent (load) {
	targetY = 45;
}
onClipEvent (enterFrame) {
	this._y += (targetY-this._y)/8.5;
	trace(this._y);
	if (this._y == 45) {
		delete this.onEnterFrame;
	}
}