home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gHTestAnswerList, gHTMarksList
- set the hilite of member "HT10a" to 0
- set the hilite of member "HT10b" to 1
- set the picture of member "HT10TF" to the picture of member "HTFalse"
- if getAt(gHTestAnswerList, 10) = "false" then
- setAt(gHTMarksList, 10, 1)
- set the picture of member "HT10Mark" to the picture of member "HTTick"
- else
- setAt(gHTMarksList, 10, 0)
- set the picture of member "HT10Mark" to the picture of member "HTEx"
- end if
- set lTotal to 0
- repeat with i = 1 to 10
- set lTotal to lTotal + getAt(gHTMarksList, i)
- end repeat
- set the text of field "HTTotal" to string(lTotal)
- end
-
- on mouseDown
- if (soundBusy(2) = 0) and (soundBusy(3) = 0) then
- sound stop 1
- puppetSound("butsnd", 1)
- end if
- end
-