home *** CD-ROM | disk | FTP | other *** search
- on HANLaunchAlert
- global HANMainAlertSprite, HANTopStripAlertSprite, HANLastButtonAlertSpriteOne, DriveLtr
- beep()
- set the member of sprite HANMainAlertSprite to member "HANALERTOne"
- set the loc of sprite HANMainAlertSprite to point(166, 279)
- set the ink of sprite HANMainAlertSprite to 0
- set the member of sprite HANTopStripAlertSprite to member "HantopStripALERTOne"
- set the loc of sprite HANTopStripAlertSprite to point(166, 279)
- set the ink of sprite HANTopStripAlertSprite to 0
- repeat with t = 22 to HANLastButtonAlertSpriteOne
- set the member of sprite t to the memberNum of sprite HANTopStripAlertSprite + (t - HANTopStripAlertSprite)
- set the loc of sprite t to point(166, 279)
- set the ink of sprite t to 0
- end repeat
- updateStage()
- repeat while 1
- if not rollOver(HANMainAlertSprite) and the mouseDown then
- beep()
- repeat while the mouseDown
- end repeat
- end if
- case rollOver() of
- HANTopStripAlertSprite:
- if the mouseDown then
- set IntOffsetH to the locH of sprite HANMainAlertSprite - the mouseH
- set IntOffsetV to the locV of sprite HANMainAlertSprite - the mouseV
- repeat while the mouseDown
- set INTMouseH to the mouseH
- set INTMouseV to the mouseV
- repeat with t = HANMainAlertSprite to HANLastButtonAlertSpriteOne
- set the loc of sprite t to point(INTMouseH + IntOffsetH, INTMouseV + IntOffsetV)
- end repeat
- updateStage()
- end repeat
- end if
- 22:
- if the mouseDown then
- set the memberNum of sprite 22 to the memberNum of sprite 22 + 2
- updateStage()
- repeat while the mouseDown
- if not rollOver(22) then
- set the memberNum of sprite 22 to the memberNum of sprite 22 - 2
- updateStage()
- exit repeat
- end if
- end repeat
- if rollOver(22) then
- set the memberNum of sprite 22 to the memberNum of sprite 22 - 2
- updateStage()
- repeat with t = HANMainAlertSprite to HANLastButtonAlertSpriteOne
- set the locH of sprite t to 2000
- end repeat
- updateStage()
- if the machineType > 200 then
- openDocument(DriveLtr & "HANDSON\PCWHELP.PDF")
- else
- put "open PDF"
- end if
- exit repeat
- end if
- end if
- 23:
- if the mouseDown then
- set the memberNum of sprite 23 to the memberNum of sprite 23 + 2
- updateStage()
- repeat while the mouseDown
- if not rollOver(23) then
- set the memberNum of sprite 23 to the memberNum of sprite 23 - 2
- updateStage()
- exit repeat
- end if
- end repeat
- if rollOver(23) then
- set the memberNum of sprite 23 to the memberNum of sprite 23 - 2
- updateStage()
- repeat with t = HANMainAlertSprite to HANLastButtonAlertSpriteOne
- set the locH of sprite t to 2000
- end repeat
- updateStage()
- exit repeat
- end if
- end if
- otherwise:
- end case
- end repeat
- end
-