show(object,state) how does that work?

Discuss problems and solutions.
Post Reply
electrofux
Regular
Posts:297
Joined:24 Jan 2012 18:22
show(object,state) how does that work?

Post by electrofux » 07 Nov 2012 23:04

I wanted to use this to show hide a container but it doesn't work. Also i don't find it in the internal section.

I put a script on a switch like this:

show(sliders1,0);
show(sliders2,1);

but it all stays red.

I am all new to this. Maybe the is another method of showing hiding a container?


edit ok, i have copied a button from another tempalte and then it works even though i don't see any difference in the two buttons. What are the usual mistakes people make with that?

Macciza
Regular
Posts:1325
Joined:07 Dec 2011 04:57
Location:Sydney, Australia.

Re: show(object,state) how does that work?

Post by Macciza » 08 Nov 2012 01:42

HI
Usual mistakes are
spellling, Capitalisation, etc
Paths to objects; if it is in a container . . .
And making sure the
'Execution' of the script is set properly

Hope that helps

MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]

Post Reply