home *** CD-ROM | disk | FTP | other *** search
/ Blaze / Blaze.iso / mac / BLKJKM_A.Dxr / 00130.ls < prev    next >
Encoding:
Text File  |  1997-04-25  |  754 b   |  35 lines

  1. on enterFrame
  2.   global movStart
  3.   if movStart then
  4.     set the visible of sprite 20 to 1
  5.     set the movieTime of sprite 20 to 0
  6.     set the movieRate of sprite 20 to 1
  7.     set movStart to 0
  8.   end if
  9. end
  10.  
  11. on exitFrame
  12.   if the movieTime of sprite 20 = the stopTime of sprite 20 then
  13.     set the movieTime of sprite 20 to 0
  14.     set the movieRate of sprite 20 to 0
  15.     set the visible of sprite 20 to 0
  16.     preLmov()
  17.     go(the frame + 1)
  18.   else
  19.     go(the frame)
  20.   end if
  21. end
  22.  
  23. on preLmov
  24.   global movNo, gameLevel, MacType
  25.   set movCast to "ROOM12A.MOV"
  26.   if MacType = 0 then
  27.     preLoadCast(movCast)
  28.   end if
  29.   if the colorDepth >= 16 then
  30.     set the directToStage of cast movCast to 1
  31.   else
  32.     set the directToStage of cast movCast to 1
  33.   end if
  34. end
  35.