Xion Audio Player

BUTTONS MAKIN ME CRAZY !!! :(

Skinning Questions, Suggestions and Ideas

Postby call-me-DD » April 14th, 2007, 10:16 pm

i want one button which can show/hide a layer...

i can put 2 different buttons... one 4 showing -n- one 4 hiding da layer... but how 2 get only one button do both things !!!

plz help :roll:
i luv makin skins 4 xion :)
User avatar
call-me-DD
Xion Supporter
 
Posts: 54
Joined: April 4th, 2007, 9:33 pm
Location: iNDiA

Postby SLoB » April 15th, 2007, 12:58 am

you can do this a few ways, simplest is to make a loop

create a new layer set and name it animaiton animtype(0) id(toggle)
you can put in delay(x)/fadebetween if needed

in there create 4 new blank layers

name 1st layer modify(yourlayertoshow) aclashow
the 2nd layer down name modify(toggle) acanstop

name 3rd layer modify(yourlayertohide) aclahide
the 4th layer down name modify(toggle) acanstop

that basically simulates a toggle on your ids to hide/show and stops the main anim loop
you will also want to put in svst on your layers that are hidden/shown so they remember their state

edit - named the layer order better for more clarity (the art of cut and paste ;) had 2 tops ;))
Last edited by SLoB on April 15th, 2007, 5:07 am, edited 1 time in total.
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Postby call-me-DD » April 15th, 2007, 2:14 am

aha !

genius !

thanx a lot :)
i luv makin skins 4 xion :)
User avatar
call-me-DD
Xion Supporter
 
Posts: 54
Joined: April 4th, 2007, 9:33 pm
Location: iNDiA

Postby SLoB » April 15th, 2007, 5:07 am

nps :)
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 9 guests

cron