Forums > Javascript

Issue with sending message to [live.toggle] object in JS

March 2, 2014 | 8:20 am

I have  a [live.toggle] object and I set the scripting name to "sn_ltg". I then try to send a message to the object using the code below but it fails. This however works for standard MAX objects. Is it a bug in M4L?

 

objLtg = this.patcher.getnamed("sn_ltg");

objLtg.message(0);

 

Javascript TypeError: XML filter is applied to non-XML value function message() {[native code]}, line 17

 


Viewing 1 post (of 1 total)