Hey Guys,
I'm having some troubles with the syntax of my code; trying something really simple and its just not working, so I know it's me.
I have a menu button setup with 3 panels for visibility. Basically, all set to "false" but when I choose one of those panels in the menu button, it will make that panel "visible".
On the menu button I have an "IF...ELSE.." statement, but my logic is as follows:
obtain the properties of the panels --> menu selects which panel --> use updateProp to set visible to "True"
But I think my getProp and updateProp syntax is wrong:
getProp("panel1",'visible')
if (value == "Panel 1"){
updateProp("panel1",'visible'===true)
}
Any ideas guys ?
thanks,
Def