home *** CD-ROM | disk | FTP | other *** search
- on CONTROLS
- global CONTROLWINDOW, DEST
- if objectp(CONTROLWINDOW) then
- forget(CONTROLWINDOW)
- end if
- set horzOrigin to the stageLeft + 448
- set vertOrigin to the stageTop + 0
- set CONTROLWINDOWrect to rect(horzOrigin, vertOrigin, horzOrigin + 192, vertOrigin + 60)
- set CONTROLWINDOW to window "CONTROLS.DIR"
- set the rect of CONTROLWINDOW to CONTROLWINDOWrect
- set the fileName of CONTROLWINDOW to "CONTROLS.DIR"
- set the titleVisible of CONTROLWINDOW to 0
- set the modal of CONTROLWINDOW to 0
- set the windowType of CONTROLWINDOW to 2
- open(CONTROLWINDOW)
- end
-
- on endMOVIE
- global CONTROLWINDOW, DEST
- installMenu(0)
- if objectp(CONTROLWINDOW) then
- forget(CONTROLWINDOW)
- end if
- set horzOrigin to the stageLeft + 160
- set vertOrigin to the stageTop + 130
- set CONTROLWINDOWrect to rect(horzOrigin, vertOrigin, horzOrigin + 320, vertOrigin + 220)
- set CONTROLWINDOW to window "CONTROL.DIR"
- set the rect of CONTROLWINDOW to CONTROLWINDOWrect
- set the fileName of CONTROLWINDOW to "CONTROL.DIR"
- set the titleVisible of CONTROLWINDOW to 0
- set the modal of CONTROLWINDOW to 0
- set the windowType of CONTROLWINDOW to 2
- open(CONTROLWINDOW)
- end
-
- on HELPMOVIE
- global CONTROLWINDOW2, DEST
- set horzOrigin to the stageLeft - 288
- set vertOrigin to the stageTop + 100
- set CONTROLWINDOW2rect to rect(horzOrigin, vertOrigin, horzOrigin + 430, vertOrigin + 206)
- set CONTROLWINDOW2 to window "HELP.DIR"
- set the rect of CONTROLWINDOW2 to CONTROLWINDOW2rect
- set the fileName of CONTROLWINDOW2 to "HELP.DIR"
- set the titleVisible of CONTROLWINDOW2 to 0
- set the windowType of CONTROLWINDOW2 to 2
- open(CONTROLWINDOW2)
- set the modal of CONTROLWINDOW2 to 0
- end
-
- on stopMovie
- finishMovie()
- end
-
- on finishMovie
- global CONTROLWINDOW, CONTROLWINDOW2
- set the modal of window "CONTROL" to 0
- set the modal of window "CONTROLS" to 0
- set the modal of window "MENU" to 0
- set the modal of window "HELP" to 0
- if objectp(CONTROLWINDOW) then
- forget(CONTROLWINDOW)
- end if
- if objectp(CONTROLWINDOW2) then
- forget(CONTROLWINDOW2)
- end if
- end
-