|
|
#1 |
|
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?
|
|
|
|
|
|
#2 |
|
Forum King
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? |
|
|
|
|
|
#3 |
|
Major Dude
|
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] |
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: Apr 2002
Posts: 8
|
Quote:
![]() 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"/> |
|
|
|
|
|
|
#5 |
|
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
|
|
|
|
|
|
#6 |
|
Forum King
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. |
|
|
|
|
|
#7 |
|
in need of banned aid
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!!!!! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|