home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global QTVidsAvail
- set the volume of sound 1 to 240
- set the volume of sound 2 to 180
- set the soundLevel to 6
- if the machineType = 256 then
- openXLib("FILEIO")
- set fileObj to FileIO(mnew, "read", the moviePath & "QTVids\PhilInst.mov")
- else
- set fileObj to FileIO(mnew, "read", the moviePath & "QTVids:PhilInst.mov")
- end if
- if objectp(fileObj) = 1 then
- set QTVidsAvail to 1
- else
- set QTVidsAvail to 0
- end if
- if the machineType = 256 then
- append(the searchPath, the moviePath & "QTVids\")
- openXLib("FILEIO")
- else
- append(the searchPath, the moviePath & "QTVids:")
- openXLib(the moviePath & "VTResources")
- set Bd to BackDrop(mnew)
- Bd(mRegister, "20071132-852")
- Bd(mShow)
- closeXLib(the moviePath & "VTResources")
- end if
- end
-