Xion Audio Player

Help with layer display

Skinning Questions, Suggestions and Ideas

Postby pickle » April 30th, 2007, 8:21 am

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?
User avatar
pickle
Xion Admirer
 
Posts: 180
Joined: September 9th, 2006, 3:56 pm

Postby SLoB » April 30th, 2007, 7:37 pm

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
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Postby pickle » May 1st, 2007, 10:24 am

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?
User avatar
pickle
Xion Admirer
 
Posts: 180
Joined: September 9th, 2006, 3:56 pm

Postby SLoB » May 1st, 2007, 5:58 pm

sure :)
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Postby SLoB » May 2nd, 2007, 10:46 pm

pm sent
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Return to General Skin Discussion

Who is online

Users browsing this forum: No registered users and 10 guests

cron