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

  1. on exitFrame
  2.   global loadNext, whatSpeed, whatFactor, frameLoop, waitTime1
  3.   if frameLoop = 0 then
  4.     set whatSpeed to whatSpeed + waitTime1
  5.   end if
  6.   if frameLoop = 0 then
  7.     unLoad(label("s4create"), label("s4create") + 11)
  8.     preLoad(label("s4turn2"), label("s4turn2") + 7)
  9.   end if
  10.   if the timer < whatSpeed then
  11.     set frameLoop to 1
  12.     go(the frame)
  13.   else
  14.     set frameLoop to 0
  15.     resetTimer()
  16.     go(#next)
  17.   end if
  18. end
  19.