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

  1. on exitFrame
  2.   set angle to the PanAngle of sprite(1)
  3.   set fileName to the BackBufferMovie of sprite(1)
  4.   if (angle >= 100) and (angle < 190) and not (fileName contains "S_IN15.mov") then
  5.     set the AreaOfInterest of sprite(1) to rect(233, 998, 412, 1237)
  6.     PlayBackBufferMovie(sprite(1), "@\files\S_IN15.mov", #loop)
  7.   end if
  8.   if (angle >= 190) and (angle < 260) and not (fileName contains "S_IN14.mov") then
  9.     set the AreaOfInterest of sprite(1) to rect(234, 1491, 413, 1730)
  10.     PlayBackBufferMovie(sprite(1), "@\files\S_IN14.mov", #loop)
  11.   end if
  12.   if (angle >= 260) and (angle < 360) and not (fileName contains "S_IN13.mov") then
  13.     set the AreaOfInterest of sprite(1) to rect(330, 1976, 509, 2215)
  14.     PlayBackBufferMovie(sprite(1), "@\files\S_IN13.mov", #loop)
  15.   end if
  16.   go(the frame)
  17. end
  18.