home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gPlayAll, gProjectorPath, fixpal
- if voidp(gProjectorPath) then
- set pathStart to the pathName
- else
- set pathStart to gProjectorPath
- end if
- if the machineType <> 256 then
- set pathSep to ":"
- else
- set pathSep to "\"
- end if
- set controlPath to pathStart & "TCONTROL" & pathSep
- set the fileName of cast 30 to controlPath & "PLAY1.MOV"
- set the fileName of cast 31 to controlPath & "PLAY2.MOV"
- set the fileName of cast 32 to controlPath & "PLAY3.MOV"
- set the fileName of cast 33 to controlPath & "PLAY4.MOV"
- set the fileName of cast 34 to controlPath & "PLAY5.MOV"
- set the fileName of cast 35 to controlPath & "PLAYALL.MOV"
- set the fileName of cast 37 to controlPath & "MAINMENU.MOV"
- append(the searchPath, controlPath)
- if the machineType <> 256 then
- openXLib("FixPaletteXObj")
- set fixpal to FixPalette(mnew, the stageLeft, the stageTop, the stageRight, the stageTop)
- end if
- set gPlayAll to 0
- end
-
- on stopMovie
- global fixpal
- if soundBusy(1) then
- soundFade()
- end if
- if the machineType <> 256 then
- fixpal(mdispose)
- closeXLib("FixPaletteXObj")
- end if
- end
-
- on patchpal
- global fixpal
- if the machineType <> 256 then
- fixpal(mPatchIt)
- end if
- end
-