Feature request -- polygon transparent buttons

seejayjames's icon

If there's something I'm missing here, please enlighten. I was just working with Flash and even though I greatly prefer Max for most things, the ability to draw hotspots of any shape is certainly useful...

I realize one can use a mousestate with the correct parameters and some comparators, but that's more work and not nearly as intuitive as drawing hotspot shapes.

Along those lines, it would be great for the transparent button to have an indication on rollover and rollout -- a fifth outlet with 1 and 0 ?

--CJ

Adam Glazier's icon

You could use the JavaScript object within MaxMSP to do complex shapes like that.

With is you could create the shapes by giving it XY coordinates manually, or create your own drawing system if you needed a hand drawn control.

Dg's icon

an example ?

Adam Glazier's icon

Quote: Kyred wrote on Sat, 22 December 2007 14:27
----------------------------------------------------
> an example ?
----------------------------------------------------

Check out the "JavascriptInMax.pdf" that comes with MaxMSP documentation. In there is a section on "jsui, Sketch and OpenGL" that will get in depth.

For a live example open the jsui.help file. In there are plenty of complex examples of how to draw and updated drawings via jsui. Send the message "open" to any of those objects and it will show you the JS code.

Good luck, hope this helps.