home *** CD-ROM | disk | FTP | other *** search
- on handleMouseUpA_VR01
- global gMouseDownLocVR
- 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)
- case id of
- 28:
- sound stop 2
- set the MouseUpHandler of sprite(1) to EMPTY
- moveToBack(window "m_navig")
- set the visible of window "m_navig" to 0
- go(#next)
- 254:
- set the MovieMouseClick of sprite(1) to 0
- apriMessaggio("m_hab01")
- 255:
- set the MovieMouseClick of sprite(1) to 0
- apriMessaggio("m_hab02")
- end case
- end if
- end
-
- on handleNodeEnterA_VR01 nodeID
- global gInfoContext
- if nodeID = 127 then
- set gInfoContext to "a_02"
- set the volume of sound 2 to 80
- WalkThruTransStep(sprite(1), 20)
- SetupWalkThruTrans(sprite(1), EMPTY, #tempo, "dslv", 0, 1)
- go(#next)
- ReplaceCursor(sprite(1), 0, -32000)
- ReplaceCursor(sprite(1), 0, -31999)
- ReplaceCursor(sprite(1), 0, -31998)
- end if
- end
-