home *** CD-ROM | disk | FTP | other *** search
- on handleMouseUpSavaus
- global gMouseDownLocVR, gMessageID
- 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
- 183:
- set the MouseUpHandler of sprite(1) to EMPTY
- moveToBack(window "m_navig")
- set the visible of window "m_navig" to 0
- sound fadeOut 2, 60
- go("out")
- 10, 47:
- set the MovieMouseClick of sprite(1) to 0
- apriMessaggio("m_omo01")
- 218, 142, 30:
- set the MovieMouseClick of sprite(1) to 0
- apriMessaggio("m_omo02")
- 13:
- set the MouseUpHandler of sprite(1) to EMPTY
- SwingSpeed(sprite(1), 5)
- SwingComplete(sprite(1), 141.82929999999998927, -11.36599999999999966, 42.77009999999999934, 0, EMPTY, 0)
- set the BackBufferMovie of sprite(1) to EMPTY
- moveToBack(window "m_navig")
- set the visible of window "m_navig" to 0
- go(">4")
- otherwise:
- nothing()
- end case
- end if
- end
-
- on handleNodeEnterSavaus pNodeID
- if pNodeID = 136 then
- go("3")
- end if
- end
-
- on handleNodeLeaveSavaus pFromNodeID, pToNodeID
- global gInfoContext
- if pToNodeID = 134 then
- set the MovieMouseClick of sprite(1) to 0
- set oldLevel to the volume of sound 2
- set the volume of sound 2 to 40
- puppetSound(1, "omo3")
- SwingSpeed(sprite(1), 2)
- SwingComplete(sprite(1), 188.58239999999997849, 0, 38.6530000000000058, 0, EMPTY, 0)
- repeat while soundBusy(1)
- nothing()
- end repeat
- set the volume of sound 2 to oldLevel
- set the MovieMouseClick of sprite(1) to 1
- end if
- if pToNodeID = 135 then
- set the MovieMouseClick of sprite(1) to 0
- set oldLevel to the volume of sound 2
- set the volume of sound 2 to 40
- set gInfoContext to "s_03"
- puppetSound(1, "omo3b")
- SwingSpeed(sprite(1), 5)
- SwingComplete(sprite(1), 175.06819999999999027, 6.72189999999999976, 43, 0, EMPTY, 0)
- repeat while soundBusy(1)
- nothing()
- end repeat
- set the volume of sound 2 to oldLevel
- set the MovieMouseClick of sprite(1) to 1
- end if
- if pToNodeID = 136 then
- SwingSpeed(sprite(1), 5)
- SwingComplete(sprite(1), 159, -6.5, 45.71269999999999811, 0, EMPTY, 0)
- end if
- end
-