Old 10th June 2001, 15:17   #1
Real Candicious
Member
 
Join Date: Feb 2001
Posts: 65
Send a message via AIM to Real Candicious
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?
Real Candicious is offline  
Old 10th June 2001, 15:25   #2
Naamloos
Forum King
 
Naamloos's Avatar
 
Join Date: Mar 2001
Location: irc.tehflap.org/*******
Posts: 3,085
I think this is in the sysfunc.m file in skins\scripts
Im not a programmer so i don't know this...
Good luck..
Naamloos is offline  
Old 11th June 2001, 13:15   #3
vbdude
Registered User
 
Join Date: Jun 2001
Location: Sri Lanka
Posts: 211
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!
vbdude is offline  
Old 11th June 2001, 17:08   #4
s0be
Major Dude
 
s0be's Avatar
 
Join Date: Jun 2001
Location: melbourne Posts: First
Posts: 1,313
Send a message via ICQ to s0be Send a message via AIM to s0be Send a message via Yahoo to s0be
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]

And On that day, the Lords of the land said unto their Master Architect, "The temple you have made to the gods of Wasabi and Maki has brought us no great prosperity" and they sent out him into the lands.

As he traveled to a far off land, he found he wasn't traveling alone, but that he had gained companions, and when they found their new land, they started work on a new temple, one that would be OPEN to all who wanted to worship.

from The Book of Wasabi C 12 Vs 09 (pg 2003)
s0be is offline  
 
Go Back   Winamp & Shoutcast Forums > Winamp3 > Winamp3 Discussion

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