home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set tButtonState to word 2 of the name of member the memberNum of sprite the clickOn of castLib the castLibNum of sprite the clickOn
- case tButtonState of
- "upState":
- hMakeSound("CLICK.AIF", 1)
- if hValidClick01() = 1 then
- hButtonScripts(tButtonState)
- end if
- "rolloverState":
- hMakeSound("CLICK.AIF", 1)
- if hValidClick02() = 1 then
- hButtonScripts(tButtonState)
- end if
- end case
- end
-
- on hButtonScripts pButtonState
- hChangeCursor("watch")
- if pButtonState = "rolloverState" then
- hUndoButtonRollover()
- end if
- go(1, "612DA")
- end
-