home *** CD-ROM | disk | FTP | other *** search
- global gRemaindingTime, gScore, gLevelSeconds
-
- on enterFrame me
- gScore = gScore + gRemaindingTime
- member("Score1").text = "Score: " & string(gScore)
- member("Score2").text = "Score: " & string(gScore)
- if (gLevelSeconds / 60) < 10 then
- timeCount = "0" & string(integer(gLevelSeconds / 60))
- else
- timeCount = string(integer(gLevelSeconds / 60))
- end if
- if (gLevelSeconds mod 60) < 10 then
- timeCount = timeCount && ":" && "0" & string(gLevelSeconds mod 60)
- else
- timeCount = timeCount && ":" && string(gLevelSeconds mod 60)
- end if
- member("Time1").text = "Time: " & timeCount
- member("Time2").text = "Time: " & timeCount
- end
-