2010-12-05

ActionScript pie menu

Since the flash player hijacks the second mouse button for its own context menu and there are rumored to be some obscure, barely relevant platforms like, ahem, Apple, that don't offer one to begin with I needed to come up with another solution for context menus. I came up with pie menus that open when you click and hold the left mouse button. You can choose a button by moving over it and releasing the mouse.

It features smooth tweening transitions and fades, a subtle 3D effect, a text help when hovering over an option for a second and an arbitrary number of buttons and icons. The final version will likely also have sounds.

This is all plumbing work for Operation Survival for which I want an intuitive, non-intrusive user interface.

Please try it and tell me what you think!