home *** CD-ROM | disk | FTP | other *** search
- on initRearWindow theColor
- global Bd, moviePath
- return
- if objectp(Bd) then
- Bd(mdispose)
- end if
- openXLib(moviePath & "VTResources")
- set Bd to BackDrop(mnew)
- Bd(mRegister, "20071132-852")
- Bd(mShow)
- closeXLib(moviePath & "VTResources")
- end
-
- on disposeRearWindow
- global Bd
- if objectp(Bd) then
- Bd(mdispose)
- end if
- end
-
- on doQT name, chan
- global AnimPath, moviePath, Cnt, chanvols
- if AnimPath = -1 then
- preLoadCast(name)
- else
- set the fileName of cast the number of cast name to AnimPath & name
- preLoadCast(name)
- end if
- put "QT " & name & "PreLoaded? ", the preLoad of cast name
- puppetSprite(chan, 1)
- set the volume of sprite chan to chanvols(mget, 1)
- set the movieRate of sprite chan to 1
- repeat while the movieRate of sprite chan
- if the mouseDown or the controlDown then
- if the controlDown then
- set Cnt to 1
- end if
- set the movieRate of sprite chan to 0
- puppetSprite(chan, 0)
- return 1
- end if
- updateStage()
- end repeat
- puppetSprite(chan, 0)
- return 0
- end
-