Forums > Javascript

Trying to send a message to live.step with js

December 22, 2012 | 11:45 pm

I want to send a message to a live.step object, but don’t succeed when i want to do that with javascript. When i put this in a message-box in Max:

extra1 1 0 0 0 0

and click on it, it works fine and the first 4 sliders in the extra1-view are set to 0. How do i do this with js? I thought this would work:

object.message(‘extra1 1 0 0 0 0′);

But i get the error: live.step: doesn’t understand "extra1 0 0 0 0"
What am i doing wrong here?


December 22, 2012 | 11:47 pm

i figured it out myself:

object.message(‘extra1′, [1, 0, 0, 0, 0]);


Viewing 2 posts - 1 through 2 (of 2 total)