home *** CD-ROM | disk | FTP | other *** search
/ Encyklopedia Omnia / Planeta.iso / data / f_gen.dir / 00004_F_vr01Handlers.ls < prev    next >
Encoding:
Text File  |  2000-11-09  |  323 b   |  13 lines

  1. on handleMouseUpF_vr01
  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 = 66 then
  8.       set the MouseUpHandler of sprite(1) to EMPTY
  9.       go(#next)
  10.     end if
  11.   end if
  12. end
  13.