![]() |
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?
|
I think this is in the sysfunc.m file in skins\scripts
Im not a programmer so i don't know this... Good luck.. |
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! |
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.