home *** CD-ROM | disk | FTP | other *** search
- on HANICONSwitch
- global HANIconsprite, HANIconTextsprite, HANCOuntIcon, DriveLtr, ACROPATH
- if HANCOuntIcon = 3 then
- set HANCOuntIcon to 0
- if the castNum of sprite HANIconsprite = 63 then
- set the castNum of sprite HANIconsprite to 49
- else
- set the castNum of sprite HANIconsprite to the castNum of sprite HANIconsprite + 1
- end if
- updateStage()
- else
- set HANCOuntIcon to 1 + HANCOuntIcon
- end if
- if rollOver(HANIconsprite) and the mouseDown then
- if the machineType < 200 then
- set the castNum of sprite 36 to 67
- set the loc of sprite 36 to point(125, 230)
- set ARTNETUP to 0
- updateStage()
- repeat while 1
- if ARTNETUP = 1 then
- set Whichcolour to the foreColor of word 1 of field 67
- if word the mouseWord of field 67 = "Quit" then
- set ARTThisword to the mouseWord
- set the foreColor of word ARTThisword of field 67 to 0
- repeat while word the mouseWord of field 67 = "QUIT"
- if the mouseDown then
- set ARTYesOrCancel to 1
- exit repeat
- end if
- end repeat
- set the foreColor of word ARTThisword of field 67 to Whichcolour
- end if
- if word the mouseWord of field 67 = "CANCEL" then
- set ARTThisword to the mouseWord
- set the foreColor of word ARTThisword of field 67 to 0
- repeat while word the mouseWord of field 67 = "CANCEL"
- if the mouseDown then
- set ARTYesOrCancel to 2
- exit repeat
- updateStage()
- end if
- end repeat
- set the foreColor of word ARTThisword of field 67 to Whichcolour
- end if
- if ARTYesOrCancel > 0 then
- exit repeat
- else
- if (the mouseCast <> 67) and the mouseDown then
- beep()
- end if
- end if
- next repeat
- end if
- if the mouseUp then
- set ARTNETUP to 1
- end if
- end repeat
- set ARTNETUP to 0
- if ARTYesOrCancel = 2 then
- set the locH of sprite 36 to 2000
- updateStage()
- repeat while the mouseDown
- end repeat
- else
- quit()
- end if
- else
- updateStage()
- if (ACROPATH = EMPTY) or (ACROPATH = 0) then
- set the castNum of sprite 36 to 67
- set the loc of sprite 36 to point(125, 230)
- set ARTNETUP to 0
- updateStage()
- repeat while 1
- if ARTNETUP = 1 then
- set Whichcolour to the foreColor of word 1 of field 67
- if word the mouseWord of field 67 = "Quit" then
- set ARTThisword to the mouseWord
- set the foreColor of word ARTThisword of field 67 to 0
- repeat while word the mouseWord of field 67 = "QUIT"
- if the mouseDown then
- set ARTYesOrCancel to 1
- exit repeat
- end if
- end repeat
- set the foreColor of word ARTThisword of field 67 to Whichcolour
- end if
- if word the mouseWord of field 67 = "CANCEL" then
- set ARTThisword to the mouseWord
- set the foreColor of word ARTThisword of field 67 to 0
- repeat while word the mouseWord of field 67 = "CANCEL"
- if the mouseDown then
- set ARTYesOrCancel to 2
- exit repeat
- updateStage()
- end if
- end repeat
- set the foreColor of word ARTThisword of field 67 to Whichcolour
- end if
- if ARTYesOrCancel > 0 then
- exit repeat
- else
- if (the mouseCast <> 56) and the mouseDown then
- beep()
- end if
- end if
- next repeat
- end if
- if the mouseUp then
- set ARTNETUP to 1
- end if
- end repeat
- set ARTNETUP to 0
- if ARTYesOrCancel = 2 then
- set the locH of sprite 36 to 2000
- updateStage()
- repeat while the mouseDown
- end repeat
- else
- quit()
- end if
- else
- set the castNum of sprite 36 to 64
- set the locH of sprite 36 to 361
- set the locV of sprite 36 to 235
- set HANNETUP to 0
- set Whichcolour to the foreColor of word 1 of field 64
- updateStage()
- repeat while 1
- if HANNETUP = 1 then
- if word the mouseWord of field 64 = "YES" then
- set REFThisword to the mouseWord
- set the foreColor of word REFThisword of field 64 to 0
- repeat while word the mouseWord of field 64 = "YES"
- if the mouseDown then
- set REFYesOrCancel to 1
- exit repeat
- end if
- end repeat
- set the foreColor of word REFThisword of field 64 to Whichcolour
- end if
- if word the mouseWord of field 64 = "NO" then
- set REFThisword to the mouseWord
- set the foreColor of word REFThisword of field 64 to 0
- repeat while word the mouseWord of field 64 = "NO"
- if the mouseDown then
- set REFYesOrCancel to 2
- exit repeat
- updateStage()
- end if
- end repeat
- set the foreColor of word REFThisword of field 64 to Whichcolour
- end if
- if REFYesOrCancel > 0 then
- exit repeat
- else
- if (the mouseCast <> 64) and the mouseDown then
- beep()
- end if
- end if
- next repeat
- end if
- if the mouseUp then
- set HANNETUP to 1
- end if
- end repeat
- set HANNETUP 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 65
- set the locH of sprite 36 to 361
- set the locV of sprite 36 to 264
- updateStage()
- repeat while the mouseDown
- end repeat
- StartBrowserAcrobat("acrofile\pcwpdf\pcwhelp.pdf")
- end if
- end if
- end if
- end if
- end
-