Forums > MaxMSP

Creating and send data via dynamically created names (e.g. [send] $1)

Aug 21 2013 | 1:56 pm

I am looking to create a dynamic way of changing images via passing the hover state name. I will have several buttons in the patcher and trying to find a effiecient (and dynamic) way to load images to achieve different states of a button. This is what I currently have:

-- Pasted Max Patch, click to expand. --

I have tried forward, pattrforward, and send objects but to no avail.

Is there any way of replicating this functionality? Can you use js event listeners or even js to send the message to the appropriate [receive] object.

Aug 21 2013 | 3:11 pm

I fixed my problem with Javascript. In my Javascript, I used the messnamed() function to send the dynamically-created message to the appropriate image to load that image.

Aug 21 2013 | 6:11 pm
Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP