home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gStop, gReturn, gBlue, randomizeList
- handlesprite()
- setMonitor()
- oldVar()
- set gBlue to 151
- if randomizeList <> [] then
- repeat with i = 1 to 4
- set m to "rand" & i
- put getAt(randomizeList, i) into field m
- set the textFont of member m to "IK10"
- set the textSize of member m to 13
- set the foreColor of member m to gBlue
- end repeat
- else
- repeat with i = 1 to 4
- set m to "rand" & i
- put " " into field m
- end repeat
- end if
- if word 1 of gReturn <> "vMix" then
- set gStop to 0
- end if
- end
-
- on stopMovie
- if the optionDown or (the keyCode = 53) or (charToNum(the keyPressed) = 27) then
- cursor(4)
- IKSynthStop()
- IKStop()
- closeXLib("Xtras\IKTrack.X32")
- closeXLib("Xtras\Fileio.X32")
- closeXLib("Xtras\FileUtil.X32")
- end if
- end
-