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

  1. on handleMouseUpG_vr08
  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.     if id = 13 then
  8.       set the MouseUpHandler of sprite(1) to EMPTY
  9.       moveToBack(window "m_navig")
  10.       set the visible of window "m_navig" to 0
  11.       sound stop 2
  12.       go(#next)
  13.     end if
  14.   end if
  15. end
  16.