home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global playMode, loadNext, mainPageWait
- startTimer()
- if (playMode = "64KMemOK") or (playMode = "PPCMemOK") then
- if ramNeeded(label("grfx1"), label("grfx2") + 15) < (the freeBlock - 1000) then
- if loadNext = 0 then
- nothing()
- else
- if loadNext = 1 then
- unLoadCast()
- preLoad(label("grfx2"), label("grfx2") + 15)
- end if
- end if
- if the timer < mainPageWait then
- wait(mainPageWait - the timer)
- go(#next)
- end if
- end if
- else
- unLoadCast()
- preLoad(label("grfx2") + 15, label("grfx2") + 15)
- puppetTransition(23, 1, 1)
- go(the frame + 17)
- end if
- end
-