Stop help needed in rotation loop

Hey everyone, I’m having a bit of a problem with this rotating object. It loops and never stops. I searched and found similar problems, but if I’m not mistaken most loops where done with tweens, unlike this one (correct me if im wrong, im a total newbie at this stuff)

heres the code:

onClipEvent (enterFrame) {
	 i = getProperty(this,_rotation);
	 setProperty(this,_rotation,i + 7);
}

i basically want the planet to spin once, and then stop.

any help will be greatly appreciated! thank you :slight_smile: