Page 1 of 1

how do i add a button to hide a panel with buttons/displays?

PostPosted: July 7th, 2007, 5:52 pm
by Halonut1
Ok, i am working on a skin. this one actually

http://www.maj.com/gallery/bioman100/morestuff/wip.jpg

i want to have a button on one of the other white circles, that opens up a square window or whatever on the left, it dont have to be fancy just a fade in/out would be nice. it would have stuff like the track/time, playlist button, maby a small visualization window in it. i want all that on a panel that can disappear. can anyone explain how to do this?

thanks in advance.

PostPosted: July 7th, 2007, 8:02 pm
by SLoB
create a layer set to house all your bits that you want to show, just easier to create a layer set for them so theyr all grouped together, the layer set has no other props

on each layer name give it an id for example id(extrainfo)

you will now need to create a toggle button
create a new layer set with name "animation animtype(0) id(info) svst paused" w/o quotes

create 4 new layers (blank) in this order
modify(extrainfo) aclashow
modify(info) acanstop
modify(extrainfo) aclahide
modify(info) acanstop

create a button as you want, then on its layer name put in something like the following
button_normal modify(info) acanplay

this then triggers the toggle animation which then toggles the showing/hiding of your extrainfo layers

voila

perhaps we should create some ps actions so toggle buttons can be created etc..

PostPosted: July 7th, 2007, 8:30 pm
by Halonut1
Photoshop actions would be a great idea. and thanks for the help! i'll try to understand it :lol:

PostPosted: July 7th, 2007, 10:27 pm
by Halonut1
ok i didnt quite get it, what would i put in the (info) and (extrainfo) stuff?! can you possibly provide a example PSD or something? sorry for the questions.

EDIT: never mind, i figured it out. heres the finished result. i'll be posting it here shortly.
http://www.deviantart.com/deviation/59273660/

PostPosted: July 8th, 2007, 12:36 am
by SLoB
checkout either shift skin, it has a toggle button for the vis but the principle is the same

basically the info animation set has blank layers with the keywords to trigger the stuff in extrainfo suxh as your title, artist layers etc...

PostPosted: July 8th, 2007, 12:38 am
by Halonut1
Thanks, here is the finished product if ya care. http://www.deviantart.com/deviation/59273660/ i gave credit to you for the help. i'll be posting it on the site shortly.

PostPosted: July 8th, 2007, 12:42 am
by SLoB
thnx & nps :)
looks good :)
btw 40 layers aint nothin ;) heheh

I'll see if I can add some ps actions, they could be uploaded both here & sc and on the SC Wiki

see if Cliff is up for a few stickies so they can be of benefit to Xion skinners

PostPosted: July 8th, 2007, 12:56 am
by Halonut1
SLoB Wrote:thnx & nps :)
looks good :)
btw 40 layers aint nothin ;) heheh

I'll see if I can add some ps actions, they could be uploaded both here & sc and on the SC Wiki

see if Cliff is up for a few stickies so they can be of benefit to Xion skinners


Thanks. and yeah the actions would help alot of new people like me, this took a good whole night to figure out lol.