Go Back   Winamp Forums > Skinning and Design > Modern Skins

Reply
Thread Tools Search this Thread Display Modes
Old 26th April 2002, 04:33   #1
Hunter115
Junior Member
 
Join Date: Apr 2002
Posts: 8
Problems with Togglebuttons

I'm working on a skin which has the Crossfade / Repeat / Shuffle togglebuttons... my problem is simple... they dont want to work

if i use the default skin the "repeat" toggle button is turned on and the other 2 off... if i use my skin they are all off and clicking the buttons on my skin doesnt effect the state...

I'm not all to sure what im doing wrong... ie missing includes or improper id tags or something *shrug*

any idea's oh super-smrt skin makers of the net?
Hunter115 is offline   Reply With Quote
Old 26th April 2002, 06:28   #2
Naamloos
Forum King
 
Naamloos's Avatar
 
Join Date: Mar 2001
Location: irc.tehflap.org/*******
Posts: 3,085
are the buttons in a group?

if not, could you post the part of your player-normal.xml which has the buttons?
Naamloos is offline   Reply With Quote
Old 26th April 2002, 09:53   #3
Vica
Major Dude
 
Vica's Avatar
 
Join Date: Sep 2001
Location: St. Vincent & the Grenadines
Posts: 872
Send a message via ICQ to Vica Send a message via AIM to Vica Send a message via Yahoo to Vica
And another thing, you need to set the button attributes using maki. In the default skin, there is a "sysfunc.maki" which handles all your config items like crossfade, shuffle and repeat. Add this to your scripts also. Then your buttons should work ....this is given that the buttons are not in a group as mentioned.

Hope that helps.


Website: Template vbulletin skins by exaltic.com[size=0.75]
Skins/Coding: D-Shock, Nebular, Triton [/size]
Vica is offline   Reply With Quote
Old 26th April 2002, 18:07   #4
Hunter115
Junior Member
 
Join Date: Apr 2002
Posts: 8
Quote:
Originally posted by Naamloos
are the buttons in a group?

if not, could you post the part of your player-normal.xml which has the buttons?
This is the code that I have for the togglebuttons... and im 90% sure they aren't apart of a "group" or "groupdef" or whatever

Also last night I tired to include the "scripts.xml" file from the "default" skin and when my skin loaded it showed me some window saying improper loading bla bla bla... left click to continue or something along those lines :\

<togglebutton id="Repeat" x="135" y="27" image="toggle.off.repeat" activeImage="toggle.on.repeat" tooltip="Repeat"/>

<togglebutton id="Shuffle" x="147" y="27" image="toggle.off.shuffle" activeImage="toggle.on.shuffle" tooltip="Shuffle"/>

<togglebutton id="Crossfade" x="159" y="27" image="toggle.off.cf" activeImage="toggle.on.cf" tooltip="Crossfade"/>
Hunter115 is offline   Reply With Quote
Old 26th April 2002, 18:18   #5
Hunter115
Junior Member
 
Join Date: Apr 2002
Posts: 8
Okly dokly well I decided "well lets see what else I can screw up with my skin today" so i ran winamp and all of a sudden the stuff that i couldnt get working last night works this morning... *shoots something* oh well thanks for all the help guys
Hunter115 is offline   Reply With Quote
Old 27th April 2002, 06:38   #6
Naamloos
Forum King
 
Naamloos's Avatar
 
Join Date: Mar 2001
Location: irc.tehflap.org/*******
Posts: 3,085
Delete studio.xnf
move the scripts folder from the default skin, into your own skin folder
add scripts.xml (and make sure the script.xml refers to the correct path, inside scripts folder)


should work now.
Naamloos is offline   Reply With Quote
Old 27th April 2002, 09:51   #7
kingo'mountain
in need of banned aid
 
kingo'mountain's Avatar
 
Join Date: Mar 2001
Location: over the rainb... uh... nevermind
Posts: 2,712
actually the thing you forgot was param="parameter" in the
toggle button, because you copied code from the default skin
it worked

anyways, good for you, i wanna see what you came up with
show your work!!!!!
kingo'mountain is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump