Spinny Thingy

Dammit Dammit Dammit!!!

I’ve got a really simple problem.

I have a .fla with a circle that I want to spin clockwise if the mouse is to the left of it (mouse._x >800) and counter clockwise if (mouse._x<800), with the speed tied to the mouse._y value.

here’s my code (so far). I’ve been trying to do this without help for a few days and it’s not going so hot.

onClipEvent(enterFrame) = function () {
if (mouse._y>600) spinny._rotation=5;
}else{
if (mouse._y>600) spinny._rotation=-5;
}

I appreciate any assistance.