home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Clips / SelectSoftPublishing-StockClips-MultimediaClips-WinMac.bin / pc / PROGRAM / 612BA.Dxr / Internal_4.ls < prev    next >
Encoding:
Text File  |  2006-01-01  |  610 b   |  24 lines

  1. on mouseDown
  2.   set tButtonState to word 2 of the name of member the memberNum of sprite the clickOn of castLib the castLibNum of sprite the clickOn
  3.   case tButtonState of
  4.     "upState":
  5.       hMakeSound("CLICK.AIF", 1)
  6.       if hValidClick01() = 1 then
  7.         hButtonScripts(tButtonState)
  8.       end if
  9.     "rolloverState":
  10.       hMakeSound("CLICK.AIF", 1)
  11.       if hValidClick02() = 1 then
  12.         hButtonScripts(tButtonState)
  13.       end if
  14.   end case
  15. end
  16.  
  17. on hButtonScripts pButtonState
  18.   hChangeCursor("watch")
  19.   if pButtonState = "rolloverState" then
  20.     hUndoButtonRollover()
  21.   end if
  22.   go(1, "612AA")
  23. end
  24.