home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 February / PCWK0296.iso / autodesk / autodesk.exe / autodesk.DXR / 00062.ls < prev    next >
Encoding:
Text File  |  1994-12-17  |  572 b   |  24 lines

  1. on exitFrame
  2.   global gDemoRun, gSaveTheSoundEnabled
  3.   if gDemoRun then
  4.     set the soundEnabled to gSaveTheSoundEnabled
  5.     if the soundEnabled then
  6.       puppetSound("martin")
  7.     end if
  8.   end if
  9.   set gDemoRun to 0
  10.   puppetSprite(30, 1)
  11.   if the soundEnabled then
  12.     if the castNum of sprite 30 <> 391 then
  13.       set the castNum of sprite 30 to 391
  14.     end if
  15.   else
  16.     if the castNum of sprite 30 <> 401 then
  17.       set the castNum of sprite 30 to 401
  18.     end if
  19.   end if
  20.   preLoadCast(391, 420)
  21.   preLoad(the frame + 1)
  22.   preLoad(the frame + 16, the frame + 16)
  23. end
  24.