window.max not working in jweb with Max4Live

bigbadotis's icon

Hello,

The window.max object does not appear to be present in jweb under Max4Live. Here's a simple test consisting of a jweb object with an outlet connected to a toggle. There are two message objects calling window.max.outlet() on the jweb object; this should in turn set the value of the connected toggle.

Max Patch
Copy patch and select New From Clipboard in Max.

This all works fine in Max, but in Max4Live it doesn't work at all. Any ideas for a workaround? Anybody else run up against this?

bigbadotis's icon

For reference, although calls to the window.max object do not appear to work, you can apparently still communicate via the window.open method:

window.open( 'maxmessage:msgName/msgArg1/msgArg2' )

But it doesn't seem like this would be an optimized way to deal with a high volume of messages...