home *** CD-ROM | disk | FTP | other *** search
- on REFGoToSelection s
- global REFCallApplication, REFAppFilenames, REFActiveSection, REFLastActive, REFAcro
- REFClearSectionSprites()
- if s = 1 then
- REFSetupStage(s)
- REFRunA2ZSection()
- end if
- if s = 2 then
- REFSetupStage(s)
- REFRunAboutSection()
- end if
- if s = 3 then
- REFSetupStage(s)
- set REFAcro to 0
- if the machineType < 200 then
- set the castNum of sprite 36 to 80
- set the locH of sprite 36 to 206
- set the locV of sprite 36 to 173
- set REFNETUP to 0
- updateStage()
- repeat while 1
- if REFNETUP = 1 then
- if word the mouseWord of field 80 = "YES" then
- set REFThisword to the mouseWord
- set the foreColor of word REFThisword of field 80 to 4
- repeat while word the mouseWord of field 80 = "YES"
- if the mouseDown then
- set REFYesOrCancel to 1
- exit repeat
- end if
- end repeat
- set the foreColor of word REFThisword of field 80 to 0
- end if
- if word the mouseWord of field 80 = "NO" then
- set REFThisword to the mouseWord
- set the foreColor of word REFThisword of field 80 to 4
- repeat while word the mouseWord of field 80 = "NO"
- if the mouseDown then
- set REFYesOrCancel to 2
- exit repeat
- updateStage()
- end if
- end repeat
- set the foreColor of word REFThisword of field 80 to 0
- end if
- if REFYesOrCancel > 0 then
- exit repeat
- else
- if (the mouseCast <> 80) and the mouseDown then
- beep()
- end if
- end if
- next repeat
- end if
- if the mouseUp then
- set REFNETUP to 1
- end if
- end repeat
- set REFNETUP to 0
- if REFYesOrCancel = 2 then
- set the locH of sprite 36 to 2000
- updateStage()
- repeat while the mouseDown
- end repeat
- else
- set the castNum of sprite 36 to 83
- set the locH of sprite 36 to 206
- set the locV of sprite 36 to 202
- updateStage()
- repeat while the mouseDown
- end repeat
- end if
- else
- set the castNum of sprite 36 to 80
- set the locH of sprite 36 to 206
- set the locV of sprite 36 to 173
- set REFNETUP to 0
- updateStage()
- repeat while 1
- if REFNETUP = 1 then
- if word the mouseWord of field 80 = "YES" then
- set REFThisword to the mouseWord
- set the foreColor of word REFThisword of field 80 to 4
- repeat while word the mouseWord of field 80 = "YES"
- if the mouseDown then
- set REFYesOrCancel to 1
- exit repeat
- end if
- end repeat
- set the foreColor of word REFThisword of field 80 to 0
- end if
- if word the mouseWord of field 80 = "NO" then
- set REFThisword to the mouseWord
- set the foreColor of word REFThisword of field 80 to 4
- repeat while word the mouseWord of field 80 = "NO"
- if the mouseDown then
- set REFYesOrCancel to 2
- exit repeat
- updateStage()
- end if
- end repeat
- set the foreColor of word REFThisword of field 80 to 0
- end if
- if REFYesOrCancel > 0 then
- exit repeat
- else
- if (the mouseCast <> 80) and the mouseDown then
- beep()
- end if
- end if
- next repeat
- end if
- if the mouseUp then
- set REFNETUP to 1
- end if
- end repeat
- set REFNETUP to 0
- if REFYesOrCancel = 2 then
- set the locH of sprite 36 to 2000
- updateStage()
- repeat while the mouseDown
- end repeat
- else
- set the castNum of sprite 36 to 83
- set the locH of sprite 36 to 206
- set the locV of sprite 36 to 202
- updateStage()
- repeat while the mouseDown
- end repeat
- StartBrowser(getAt(REFAppFilenames, 1))
- end if
- end if
- end if
- if s = 4 then
- REFSetupStage(s)
- REFAdIdxSection()
- end if
- if s = 5 then
- REFSetupStage(s)
- set REFAcro to 1
- if the machineType < 200 then
- set the castNum of sprite 36 to 79
- set the locH of sprite 36 to 206
- set the locV of sprite 36 to 173
- set REFNETUP to 0
- updateStage()
- repeat while 1
- if REFNETUP = 1 then
- if word the mouseWord of field 79 = "YES" then
- set REFThisword to the mouseWord
- set the foreColor of word REFThisword of field 79 to 4
- repeat while word the mouseWord of field 79 = "YES"
- if the mouseDown then
- set REFYesOrCancel to 1
- exit repeat
- end if
- end repeat
- set the foreColor of word REFThisword of field 79 to 0
- end if
- if word the mouseWord of field 79 = "NO" then
- set REFThisword to the mouseWord
- set the foreColor of word REFThisword of field 79 to 4
- repeat while word the mouseWord of field 79 = "NO"
- if the mouseDown then
- set REFYesOrCancel to 2
- exit repeat
- updateStage()
- end if
- end repeat
- set the foreColor of word REFThisword of field 79 to 0
- end if
- if REFYesOrCancel > 0 then
- exit repeat
- else
- if (the mouseCast <> 79) and the mouseDown then
- beep()
- end if
- end if
- next repeat
- end if
- if the mouseUp then
- set REFNETUP to 1
- end if
- end repeat
- set REFNETUP to 0
- if REFYesOrCancel = 2 then
- set the locH of sprite 36 to 2000
- updateStage()
- repeat while the mouseDown
- end repeat
- else
- set the castNum of sprite 36 to 86
- set the locH of sprite 36 to 206
- set the locV of sprite 36 to 202
- updateStage()
- repeat while the mouseDown
- end repeat
- end if
- else
- set the castNum of sprite 36 to 79
- set the locH of sprite 36 to 206
- set the locV of sprite 36 to 173
- set REFNETUP to 0
- updateStage()
- repeat while 1
- if REFNETUP = 1 then
- if word the mouseWord of field 79 = "YES" then
- set REFThisword to the mouseWord
- set the foreColor of word REFThisword of field 79 to 4
- repeat while word the mouseWord of field 79 = "YES"
- if the mouseDown then
- set REFYesOrCancel to 1
- exit repeat
- end if
- end repeat
- set the foreColor of word REFThisword of field 79 to 0
- end if
- if word the mouseWord of field 79 = "NO" then
- set REFThisword to the mouseWord
- set the foreColor of word REFThisword of field 79 to 4
- repeat while word the mouseWord of field 79 = "NO"
- if the mouseDown then
- set REFYesOrCancel to 2
- exit repeat
- updateStage()
- end if
- end repeat
- set the foreColor of word REFThisword of field 79 to 0
- end if
- if REFYesOrCancel > 0 then
- exit repeat
- else
- if (the mouseCast <> 79) and the mouseDown then
- beep()
- end if
- end if
- next repeat
- end if
- if the mouseUp then
- set REFNETUP to 1
- end if
- end repeat
- set REFNETUP to 0
- if REFYesOrCancel = 2 then
- set the locH of sprite 36 to 2000
- updateStage()
- repeat while the mouseDown
- end repeat
- else
- set the castNum of sprite 36 to 86
- set the locH of sprite 36 to 206
- set the locV of sprite 36 to 202
- updateStage()
- repeat while the mouseDown
- end repeat
- StartBrowserAcrobat(getAt(REFAppFilenames, 2))
- end if
- end if
- end if
- end
-