home *** CD-ROM | disk | FTP | other *** search
- global myMode, Temp
-
- on mouseEnter
- if the visible of sprite 16 or (the windowList <> []) then
- exit
- end if
- set R to the rollOver
- set the blend of sprite R to 100
- set Temp to R
- cursor([50, 51])
- end
-
- on mouseLeave
- if not (the visible of sprite 16) then
- set the blend of sprite Temp to 0
- end if
- cursor(-1)
- end
-
- on mouseDown
- global Language
- set R to the rollOver
- if myMode <> "Test" then
- set the text of field "Testo" to line R - 50 of the text of field "Testi"
- doSound("T22C" & Format00(R - 50 + (40 * (myMode <> "Cardinal"))) & Language)
- else
- set n to line 2 of the text of field "Sol"
- if ((n <= 40) and ((R - 50) = n)) or ((n > 40) and ((R - 50) = (n - 40))) then
- set the visible of sprite 16 to 1
- doSound("0Giusto")
- set the text of field "Testo" to line integer(n) of the text of field "Testi"
- else
- doSound("0Errore")
- end if
- end if
- pass()
- end
-