Paste2
Create Paste
Followup Paste
QR
var buttonstate = 0; /* 0 = not clicked | 1 = clicked */
onbuttonclick{
if(buttonstate == 0){
buttonstate = 1;
button.setState("pressed"); /* or hover, whatever its called */
}elseif(buttonstate ==1){
buttonstate = 0;
button.setState("normal");
}
}
Please enable JavaScript to view the
comments powered by Disqus.
Comments powered by
Disqus