home *** CD-ROM | disk | FTP | other *** search
- on newINTLaunchAlert
- global DriveLtr, lntAlertBox, IntAlertButtonOne, IntAlertButtonTwo, IntAlertButtonThree, IntBrowserAlOption
- beep()
- set the member of sprite lntAlertBox to member "IntALERTLaunchBrowser"
- set the loc of sprite lntAlertBox to point(200, 200)
- updateStage()
- put the loc of sprite lntAlertBox
- set the ink of sprite lntAlertBox to 0
- set the member of sprite IntAlertButtonOne to member "IntALERTThreeOK"
- set the member of sprite IntAlertButtonTwo to member "IntALERTThreeCancel"
- set the loc of sprite IntAlertButtonOne to point(200, 200)
- set the loc of sprite IntAlertButtonTwo to point(200, 200)
- set the ink of sprite IntAlertButtonOne to 0
- set the ink of sprite IntAlertButtonTwo to 0
- updateStage()
- repeat while 1
- if not rollOver(lntAlertBox) and the mouseDown then
- beep()
- repeat while the mouseDown
- end repeat
- end if
- case rollOver() of
- IntAlertButtonOne:
- if the mouseDown then
- set the member of sprite IntAlertButtonOne to member "IntALERTThreeOKB"
- updateStage()
- repeat while the mouseDown
- if not rollOver(IntAlertButtonOne) then
- set the member of sprite IntAlertButtonOne to member "IntALERTThreeOK"
- updateStage()
- exit repeat
- end if
- end repeat
- if rollOver(IntAlertButtonOne) then
- set the locH of sprite lntAlertBox to 2000
- set the locH of sprite IntAlertButtonOne to 2000
- set the locH of sprite IntAlertButtonTwo to 2000
- updateStage()
- openDocument(DriveLtr & "WPCWEB\INDEX.HTM")
- exit repeat
- end if
- end if
- IntAlertButtonTwo:
- if the mouseDown then
- set the member of sprite IntAlertButtonTwo to member "IntALERTThreeCancelB"
- updateStage()
- repeat while the mouseDown
- if not rollOver(IntAlertButtonTwo) then
- set the member of sprite IntAlertButtonTwo to member "IntALERTThreeCancel"
- updateStage()
- exit repeat
- end if
- end repeat
- if rollOver(IntAlertButtonTwo) then
- put lntAlertBox && IntAlertButtonOne && IntAlertButtonTwo
- set the locH of sprite lntAlertBox to 2000
- set the locH of sprite IntAlertButtonOne to 2000
- set the locH of sprite IntAlertButtonTwo to 2000
- updateStage()
- exit repeat
- end if
- end if
- otherwise:
- end case
- end repeat
- end
-