home *** CD-ROM | disk | FTP | other *** search
- totalFPS = 0;
- i = 0;
- while(i <= averageFPSvalues.length)
- {
- totalFPS += averageFPSvalues[i];
- i++;
- }
- averageFPS = int(totalFPS / averageFPSvalues.length * 10) / 10;
- clippyListener = new Object();
- clippyListener.click = function(evt)
- {
- play();
- };
- nextbtn.addEventListener("click",clippyListener);
- misses = shots - hits;
- accuracy = int(hits / shots * 100) + "%";
- stop();
-