Feature request — polygon transparent buttons

Oct 12, 2007 at 2:33am

Feature request — polygon transparent buttons

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

#34142
Dec 22, 2007 at 5:39pm

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.

#114781
Dec 22, 2007 at 9:27pm

an example ?

#114782
Dec 22, 2007 at 9:42pm

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.

#114783

You must be logged in to reply to this topic.