Posted By: reknak
showing and hiding panels question - 02/22/11 15:02
Hi guys,
I was seeing NHA RPG template 2.0 mainmenu script, and found a code which shows and hides panels, but it doesn't work in my script.
I got an error saying that visible is not a member of panel.
Than I looked in the GSmanual and found that visible is now a obsolete keyword, 'show' is now used for it.
So I changed the code to this;
But I get he same error saying that show is not a member of panel.
Anyone knowing what I'm doing wrong? Thanks in advance.
I was seeing NHA RPG template 2.0 mainmenu script, and found a code which shows and hides panels, but it doesn't work in my script.
Code:
mainmenu_pan.visible = true;
I got an error saying that visible is not a member of panel.
Than I looked in the GSmanual and found that visible is now a obsolete keyword, 'show' is now used for it.
So I changed the code to this;
Code:
mainmenu_pan.show = true;
But I get he same error saying that show is not a member of panel.
Anyone knowing what I'm doing wrong? Thanks in advance.