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

  1. on exitFrame
  2.   if soundBusy(1) then
  3.     swingStep(1, #right, 1.25)
  4.     set angle to the PanAngle of sprite(1)
  5.     set fileName to the BackBufferMovie of sprite(1)
  6.     if (angle >= 30) and (angle < 172) then
  7.       if not (fileName contains "f_in08.mov") then
  8.         set the AreaOfInterest of sprite(1) to rect(290, 588, 409, 827)
  9.         PlayBackBufferMovie(sprite(1), "@\files\f_in08.mov", #loop)
  10.       end if
  11.     else
  12.       if not (fileName contains "f_in08b.mov") then
  13.         set the AreaOfInterest of sprite(1) to rect(278, 1542, 457, 1781)
  14.         PlayBackBufferMovie(sprite(1), "@\files\f_in08b.mov", #loop)
  15.       end if
  16.     end if
  17.     go(the frame)
  18.   else
  19.     set the MouseUpHandler of sprite(1) to "handleMouseUpF_vr08"
  20.     set the MouseDownHandler of sprite(1) to "handleMouseDownCommon"
  21.     set x to stageRight() - 96
  22.     set y to stageTop()
  23.     apriMiawTipo2("m_navfut", x, y, 0)
  24.     tell window "m_navfut"
  25.       fase1()
  26.     end tell
  27.     set the MovieMouseClick of sprite(1) to 1
  28.   end if
  29. end
  30.