home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global rwObj, gMaxColors, gOrigDepth, gsoundorig
- set gOrigDepth to the colorDepth
- set gsoundorig to the soundLevel
- set the soundLevel to 6
- cursor(200)
- puppetTempo(10)
- set the timeoutLength to 5 * 60
- if the colorDepth <> 8 then
- alert("Your system cannot display video in 8-bit color.")
- quit()
- end if
- end
-
- on cl1
- puppetSound("guitclk.aif")
- end
-
- on SndLoop
- if soundBusy(1) then
- go(the frame)
- end if
- end
-
- on SndLoop2
- if soundBusy(2) then
- go(the frame)
- end if
- end
-
- on FF
- go("Loop 1")
- sound fadeOut 2, 60
- end
-
- on TheEnd
- global gOrigDepth
- set the colorDepth to gOrigDepth
- end
-