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

  1. on handleMouseUpErectus
  2.   global gMouseDownLocVR, gMessageID
  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.       puppetSound(1, 0)
  10.       set the BackBufferMovie of sprite(1) to EMPTY
  11.       moveToBack(window "m_navig")
  12.       set the visible of window "m_navig" to 0
  13.       sound stop 2
  14.       go(#next)
  15.     else
  16.       set the MovieMouseClick of sprite(1) to 0
  17.       apriMessaggio("m_omo03")
  18.     end if
  19.   end if
  20. end
  21.