If you click the start button twice it multiples the time. So what I want is if you click start it deactivates it until you click the stop button.
HTML Code:var frame=0 function start(){ document.getElementById("timer").innerHTML = frame; go=setTimeout("start()",300) frame++ S7Config.setFlashParam('_frameButton1','currentFrame', frame); if(frame==36){ frame=0 } } function stop(){ clearTimeout(go) } function resetBtn(){ frame=0 S7Config.setFlashParam('_frameButton1','currentFrame', frame); }



Reply With Quote

Bookmarks