home *** CD-ROM | disk | FTP | other *** search
/ Encyklopedia Omnia / Planeta.iso / data / s_gen.dir / 00028_VillaggioHandlers.ls < prev    next >
Encoding:
Text File  |  2000-11-09  |  570 b   |  20 lines

  1. on handleMouseUpVillaggio
  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.       set the BackBufferMovie of sprite(1) to EMPTY
  10.       set the MovieMouseClick of sprite(1) to 0
  11.       puppetSound(1, "omo8")
  12.       repeat while soundBusy(1)
  13.         nothing()
  14.       end repeat
  15.       set the MovieMouseClick of sprite(1) to 1
  16.       go(#next)
  17.     end if
  18.   end if
  19. end
  20.