Page 1 of 1

show(object,state) how does that work?

Posted: 07 Nov 2012 23:04
by electrofux
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?

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

Posted: 08 Nov 2012 01:42
by Macciza
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