home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gHTestAnswerList, gHTMarksList
- set the hilite of member "HT5a" to 1
- set the hilite of member "HT5b" to 0
- set the picture of member "HT5TF" to the picture of member "HTTrue"
- if getAt(gHTestAnswerList, 5) = "true" then
- setAt(gHTMarksList, 5, 1)
- set the picture of member "HT5Mark" to the picture of member "HTTick"
- else
- setAt(gHTMarksList, 5, 0)
- set the picture of member "HT5Mark" 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
-