Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Winamp3 Discussion (http://forums.winamp.com/forumdisplay.php?f=57)
-   -   Skinning help (http://forums.winamp.com/showthread.php?t=52164)

Real Candicious 10th June 2001 15:17

In a skin I am attempting to create, I need the play and pause buttons to be just one button. Just to clarify, pressing this button would start playing a song, pressing this button again while a song is playing would pause the song and pressing it again would unpause it. Any idea how I would go about doing this?

Naamloos 10th June 2001 15:25

I think this is in the sysfunc.m file in skins\scripts
Im not a programmer so i don't know this...
Good luck..

vbdude 11th June 2001 13:15

try RT's scripting spec at -

http://www.stefanweb.com/wa3

It _has_ to be there. Rhino has the most comprehensive
scripting spec on Wasabi!

s0be 11th June 2001 17:08

I suspect the easiest way to solve this would be to create a toggle button that, when it's enabled, it calls the play script, then when it's not, it calls the pause script.

/*
S0Be
*/

Also, you should probably make sure it defaults to paused, that way, your first click makes it play.

[edited to mention a default]

[Edited by s0bellzard on 06-11-2001 at 01:29 PM]


All times are GMT. The time now is 19:39.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.