Page 1 of 1

Help with layer display

PostPosted: April 30th, 2007, 8:21 am
by pickle
Hi all,

I believe this is a bug with Xion, but before I make a new thread, I wanted to make sure I'm not screwing up somewhere.

Here are my layers:
Code: Select All Code
1] id(tab) button modify(tab) action_layer_hide
2] id(tab) button_down modify(tab) action_layer_hide
3] show tab button modify(tab) action_layer_show
4] show tab button_down modify(tab) action_layer_show
Note: the 1], 2] etc are not in the actual layers.

When the skin is loaded, layers 1 & 2 (which define the "hide" button) are hidden & layers 3 & 4 (which define the "show" button) are visible. When I push the "show" button, all layers with the id "tab" are supposed to become visible. They do - that part is working fine.

Then, when I push the "hide" button, all layers with the id "tab" are supposed to disappear. This is supposed to give me a nice toggling effect.

The problem is that when I push the "hide" button, other layers in the skin with the id "tab" do disappear, but the button doesn't. From that point on, layer 1 & 2 are visible, come hell or high water.

Any where/if I'm going wrong?

PostPosted: April 30th, 2007, 7:37 pm
by SLoB
giv the button a diff id and use modify(tab,yourbutton) to keep them seperate
you will also need to use svst on each layer too

check Torsion for the vu/volprog toggle

if that doesnt help post/mail the skin

PostPosted: May 1st, 2007, 10:24 am
by pickle
The layers are now set up like this:
Code: Select All Code
1] id(expose) button modify(tab) action_layer_hide
2] id(expose) button_down modify(tab) action_layer_hide
3] show tab button modify(tab,expose) action_layer_show
4] show tab button_down modify(tab,expose) action_layer_show
with no change.

svst doesn't really matter here as I don't want to save the state. This panel is to be closed every time the skin loads.

SLoB - wanna PM me your email?

PostPosted: May 1st, 2007, 5:58 pm
by SLoB
sure :)

PostPosted: May 2nd, 2007, 10:46 pm
by SLoB
pm sent