home *** CD-ROM | disk | FTP | other *** search
/ Encyklopedia Omnia / Planeta.iso / data / s_gen.dir / 00033_custom3.ls < prev    next >
Encoding:
Text File  |  2000-11-09  |  804 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 >= 85) and (angle < 205) and not (fileName contains "S_IN17.mov") then
  5.     set the AreaOfInterest of sprite(1) to rect(240, 835, 479, 1154)
  6.     PlayBackBufferMovie(sprite(1), "@\files\S_IN17.mov", #loop)
  7.   end if
  8.   if (angle >= 205) and (angle < 305) and not (fileName contains "S_IN18.mov") then
  9.     set the AreaOfInterest of sprite(1) to rect(262, 1698, 442, 1939)
  10.     PlayBackBufferMovie(sprite(1), "@\files\S_IN18.mov", #loop)
  11.   end if
  12.   if (angle >= 305) and (angle < 348) and not (fileName contains "S_IN19.mov") then
  13.     set the AreaOfInterest of sprite(1) to rect(371, 2102, 432, 2182)
  14.     PlayBackBufferMovie(sprite(1), "@\files\S_IN19.mov", #loop)
  15.   end if
  16.   go(the frame)
  17. end
  18.