home *** CD-ROM | disk | FTP | other *** search
- function updateTime()
- {
- var mins = parseInt((timerLength - this.timer.seconds()) / 60);
- if(mins == 0)
- {
- mins = "00";
- }
- var secs = (timerLength - this.timer.seconds()) % 60;
- if(secs == 0)
- {
- _root.gotoAndStop("end");
- secs = "00";
- }
- this.timeDisplay = mins + ":" + secs;
- }
- var timerLength = _root.vTime;
-