home *** CD-ROM | disk | FTP | other *** search
- on NewINTBrowserAlert
- global DriveLtr, lntAlertBox, IntAlertButtonOne, IntAlertButtonTwo, IntAlertButtonThree, IntBrowserAlOption
- beep()
- case IntBrowserAlOption of
- 1:
- set the member of sprite lntAlertBox to member "IntALERTOne"
- 2:
- set the member of sprite lntAlertBox to member "IntALERTTwo"
- end case
- set the loc of sprite lntAlertBox to point(200, 200)
- set the ink of sprite lntAlertBox to 0
- set the member of sprite IntAlertButtonOne to member "IntALERTOneBrowse"
- set the member of sprite IntAlertButtonTwo to member "IntALERTOneIE"
- set the member of sprite IntAlertButtonThree to member "IntALERTOneCancel"
- set the loc of sprite IntAlertButtonOne to point(200, 200)
- set the loc of sprite IntAlertButtonTwo to point(200, 200)
- set the loc of sprite IntAlertButtonThree to point(200, 200)
- set the ink of sprite IntAlertButtonOne to 0
- set the ink of sprite IntAlertButtonTwo to 0
- set the ink of sprite IntAlertButtonThree 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 "IntALERTOneBrowseB"
- updateStage()
- repeat while the mouseDown
- if not rollOver(IntAlertButtonOne) then
- set thiscastnumber to member "IntALERTOneBrowse"
- 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
- set the locH of sprite IntAlertButtonThree to 2000
- updateStage()
- set INTOption to 1
- exit repeat
- end if
- end if
- IntAlertButtonTwo:
- if the mouseDown then
- set the member of sprite IntAlertButtonTwo to member "IntALERTOneIEA"
- updateStage()
- repeat while the mouseDown
- if not rollOver(IntAlertButtonTwo) then
- set the member of sprite IntAlertButtonTwo to member "IntALERTOneIE"
- updateStage()
- exit repeat
- end if
- end repeat
- if rollOver(IntAlertButtonTwo) 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
- set the locH of sprite IntAlertButtonThree to 2000
- updateStage()
- updateStage()
- set INTOption to 2
- exit repeat
- end if
- end if
- IntAlertButtonThree:
- if the mouseDown then
- set the member of sprite IntAlertButtonThree to member "IntALERTOneCancelB"
- updateStage()
- repeat while the mouseDown
- if not rollOver(IntAlertButtonThree) then
- set the member of sprite IntAlertButtonThree to member "IntALERTOneCancel"
- updateStage()
- exit repeat
- end if
- end repeat
- if rollOver(IntAlertButtonThree) 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
- set the locH of sprite IntAlertButtonThree to 2000
- updateStage()
- exit repeat
- end if
- end if
- otherwise:
- end case
- end repeat
- case INTOption of
- 1:
- set INTOption to 0
- openXLib("fileio")
- set fioObj to fileio(mnew, "?read", "EXE")
- if not objectp(fioObj) then
- return
- end if
- set theFile to fioObj(mFileName)
- fioObj(mdispose)
- open(DriveLtr & "\WPCWEB\INDEX.HTM", theFile)
- 2:
- set INTOption to 0
- open(DriveLtr & "\SOFTWARE\UTILITY\IE495\Ie4setup.exe")
- end case
- end
-