home *** CD-ROM | disk | FTP | other *** search
/ Encyklopedia Omnia / Planeta.iso / data / g_gen.dir / 00018_g_vr02Handlers.ls < prev    next >
Encoding:
Text File  |  2000-10-17  |  615 b   |  26 lines

  1. on handleMouseUpG_vr02
  2.   global gMouseDownLocVR
  3.   set offs to point(2, 2)
  4.   set p to point(mouseH(), mouseV())
  5.   if inside(gMouseDownLocVR, rect(p - offs, p + offs)) then
  6.     set id to the hotSpotID of sprite(1)
  7.     case id of
  8.       5:
  9.         set the MouseUpHandler of sprite(1) to EMPTY
  10.         moveToBack(window "m_navig")
  11.         set the visible of window "m_navig" to 0
  12.         sound stop 2
  13.         go(">8")
  14.       30:
  15.         set the MovieMouseClick of sprite(1) to 0
  16.         apriMessaggio("m_geo02")
  17.     end case
  18.   end if
  19. end
  20.  
  21. on handleNodeEnterG_vr02 pNodeID
  22.   if pNodeID = 135 then
  23.     go("7")
  24.   end if
  25. end
  26.