home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 April / macformat-049.iso / mac / Demos / Print Artist Demo / PA12-Mac.Dxr / 00212.ls < prev    next >
Encoding:
Text File  |  1996-10-03  |  665 b   |  25 lines

  1. on exitFrame
  2.   global loadNext, subPageWait, playMode
  3.   startTimer()
  4.   unLoadCast()
  5.   puppetSound(0)
  6.   if (playMode <> "64KMemOK") and (playMode <> "PPCMemOK") then
  7.     if loadNext = 0 then
  8.       nothing()
  9.     else
  10.       if loadNext = 1 then
  11.         preLoad(label("craft2"), label("craft2") + 26)
  12.       end if
  13.     end if
  14.   else
  15.     preLoad(label("craft2"), "craft1")
  16.     preLoad(label("craft2") + 3, "craft1" + 3)
  17.     preLoad(label("craft2") + 7, "craft1" + 7)
  18.     preLoad(label("craft2") + 10, "craft1" + 10)
  19.     preLoad(label("craft2") + 16, "craft2" + 16)
  20.     preLoad(label("craft2") + 23, "craft2" + 23)
  21.   end if
  22.   wait(subPageWait - the timer)
  23.   go(#next)
  24. end
  25.