Forums > Javascript

Change live.menu attribute using javascript

March 22, 2014 | 4:40 am

I have a live.menu object called sn_livemenu and when I open the inspector there are two attributes "enabled" and "ignore click" which I want to change to "false" using javascript. It would be very good if someone could please point me in the direction of the syntax I can use.



Lee
March 22, 2014 | 6:01 am

hi.

try

this.patcher.getnamed( ‘sn_livemenu’ ).ignoreclick=1;


March 22, 2014 | 9:56 am

Worked nicely – thanks!:)


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