home *** CD-ROM | disk | FTP | other *** search
- on handleMouseUpVR16
- global gMouseDownLocVR, gMessageID, gCatenaccio
- set offs to point(2, 2)
- set p to point(mouseH(), mouseV())
- if inside(gMouseDownLocVR, rect(p - offs, p + offs)) then
- set id to the hotSpotID of sprite(1)
- put id
- case id of
- 175, 5, 166:
- if getPos(gCatenaccio, id) = 0 then
- add(gCatenaccio, id)
- set the DisableHotSpotID of sprite(1) to id
- if count(gCatenaccio) = 3 then
- set the MouseUpHandler of sprite(1) to EMPTY
- moveToBack(window "m_navig")
- set the visible of window "m_navig" to 0
- go(#next)
- else
- set the MovieMouseClick of sprite(1) to 0
- apriMessaggioPositivo("m_evo13")
- end if
- else
- nothing()
- end if
- 31:
- set the MovieMouseClick of sprite(1) to 0
- apriMessaggio("m_evo12")
- otherwise:
- nothing()
- end case
- end if
- end
-