Action script for circular, looping movment?

hey all,
newbie asking for help with scripting movement in a circular, looping manner. I can’t have the frames repeat due to the script I have embedded in the movie clip I want to rotate. I’ve explored the tutorial on scripting simple movement, but I don’t know how to take that and make it into a rotational movement.