Rotate mc by mouse movement

Hi guys,

i’m trying to build a “circular” menu that rotate on rollover and mouse move but with no good results. Just something like the yugo sliding menu but with buttons placed around a circonference.

I don’t need a dinamic menu.
I need a function that let the menu rotate up when cursor is below the half of the circle and viceversa.

Could you please help me?

I’ve done a search and found a compass example but i really can’t edit it. I’m a newbee and can’t really figure out how to rotate a movie clip around its own axes on mouse move…

Thanks in advance and sorry for my english.

I don’t know the example you are talking about, but here’s a simple one from me, maybe it helps you.

Thanks a lot virusescu!!! :party:

It’s exactly what i need!
I’m wondering how to invert the sense of rotation and how to block the rotation after a complete loop…

Do you have any solutions? :crying:

Thanks again for your patience.

Hmm… Something like this maybe.
Not exactly optimized though :book:

Yes virusescu! I love you!

Turbothanks!!!

PS:
I’m so stupid… inverting the sense of rotation is as simple as changing Math.min with Math.max. :slight_smile: