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

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