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

  1. on exitFrame
  2.   if soundBusy(1) then
  3.     swingStep(1, #right, 1.5)
  4.     set angle to the PanAngle of sprite(1)
  5.     set fileName to the BackBufferMovie of sprite(1)
  6.     if (angle >= 130) and (angle < 250) then
  7.       if not (fileName contains "f_in05.mov") then
  8.         set the AreaOfInterest of sprite(1) to rect(400, 1195, 579, 1434)
  9.         PlayBackBufferMovie(sprite(1), "@\files\f_in05.mov", #loop)
  10.       end if
  11.     else
  12.       if not (fileName contains "f_in05b.mov") then
  13.         set the AreaOfInterest of sprite(1) to rect(263, 2134, 342, 2373)
  14.         PlayBackBufferMovie(sprite(1), "@\files\f_in05b.mov", #loop)
  15.       end if
  16.     end if
  17.     go(the frame)
  18.   end if
  19. end
  20.