Go Back   Winamp Forums > Skinning and Design > Modern Skins

Reply
Thread Tools Search this Thread Display Modes
Old 4th February 2002, 17:16   #1
e-blackadder
Senior Member
 
e-blackadder's Avatar
 
Join Date: Jan 2001
Location: the elizabethan era.
Posts: 446
Angry Why won't the ^$#%$#^ togglebuttons work?

[note]not an intentional x-post. Was originally in the wrong forum.[/note]

Ok, this will probably end up being a stupid question, but anyways... I'm working on my first WA3 skin and for some reason the togglebutton functions in the main player do not work. (Crossfade, Shuffle, and Repeat.) The graphics work perfectly, but the buttons themselves do nothing. I have checked, re-checked, and re-written the .xml a dozen times but no go. Hints or suggestions anyone?

This is how it reads right now:

<togglebutton
id="Crossfade"
x="159" y="144"
Image="player.xfade.disabled"
downImage="player.xfade.pressed"
activeImage="player.xfade.enabled"
tooltip="Crossfade"
/>

And in the elements file:

<bitmap id="player.xfade.disabled" file="gfx/smalluplitoff.png" x="0" y="0" h="14" w="7"/>
<bitmap id="player.xfade.pressed" file="gfx/smalldown.png" x="0" y="0" h="14" w="7"/>
<bitmap id="player.xfade.enabled" file="gfx/smalluplit.png" x="0" y="0" h="14" w="7"/>

So why the hell won't it work?
e-blackadder is offline   Reply With Quote
Old 4th February 2002, 17:19   #2
Plague
f(caffeine){
return wasabi;
}
(Forum King)
 
Plague's Avatar
 
Join Date: Jul 2001
Location: Sweden
Posts: 3,962
have you changed anything in the sysfunc.m script?
the crossfade function is in that script.
Plague is offline   Reply With Quote
Old 4th February 2002, 19:48   #3
mrsamitk
Senior Member
 
Join Date: Jul 2001
Posts: 124
yes that happened to me too. what solved the problem? include sysfunc.maki script in your skin and it will work.

Right before
code:

</WinampAbstractionLayer>



put the following
code:

<scripts>
<script id="sysfunc" file="scripts/sysfunc.maki"/>
</scripts>



The abouve statement assumes that you already have the sysfunc.maki in a seperate folder called "scripts".
mrsamitk is offline   Reply With Quote
Old 4th February 2002, 21:10   #4
pixelpusher
Major Dude
 
pixelpusher's Avatar
 
Join Date: Jan 2001
Location: Left of darkness, Right of light
Posts: 860
Could be you simply don't have crossfade enabled in the
configuration panel. I had the same problem and thats all
it was. The crossfade has it's own area and the shuffle/repeat
is in the playlist configuration area.



Theres no reason the xml should stop them from working.
Oh and if you crash winamp before you close it on your own
these setting will not be saved into the studio.xnf

oh BTW. Nice to see you over here Adder.

Pixelpusher.
pixelpusher is offline   Reply With Quote
Old 4th February 2002, 22:30   #5
e-blackadder
Senior Member
 
e-blackadder's Avatar
 
Join Date: Jan 2001
Location: the elizabethan era.
Posts: 446
I actually figured out the sysfunc.maki thing myself after thePlague's reply, although I ended up there the long-way-'round by copying the script into the main folder and calling on it direct in the skin.xml. Ah well, something for the update.

Thanks guys for the help. Looks like life is a bit harder here in the big leagues.
e-blackadder is offline   Reply With Quote
Old 4th February 2002, 23:29   #6
pixelpusher
Major Dude
 
pixelpusher's Avatar
 
Join Date: Jan 2001
Location: Left of darkness, Right of light
Posts: 860
So, are we going to get to see a preview of your WA3 majic.

It is a bit harder to skin WA3. But you must admit that the
freedom of choosing your button sizes and layout is well worth
the trade-off.

I love skinning this monster.

Pixelpusher.
pixelpusher 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