home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1997 December / WPCDEC97.ISO / DXRS / INXWDEC.DXR / 00043_CDXHelpButton.ls < prev    next >
Encoding:
Text File  |  1997-10-13  |  819 b   |  27 lines

  1. on CDXHelpButton
  2.   global CDXHelpOnStage, CDXWhichIndex
  3.   if CDXHelpOnStage = 0 then
  4.     if rollOver(20) then
  5.       set the castNum of sprite 20 to the number of member "HELPTwo"
  6.       updateStage()
  7.       repeat while rollOver(20)
  8.         if the mouseDown then
  9.           case CDXWhichIndex of
  10.             1:
  11.               set the castNum of sprite 36 to the number of member "CDXHelpInfo"
  12.             2:
  13.               set the castNum of sprite 36 to the number of member "PRODHelpInfo"
  14.           end case
  15.           set the loc of sprite 36 to point(200, 200)
  16.           updateStage()
  17.           set CDXHelpOnStage to 1
  18.           repeat while the mouseDown
  19.           end repeat
  20.           exit repeat
  21.         end if
  22.       end repeat
  23.       set the castNum of sprite 20 to the number of member "HELP"
  24.     end if
  25.   end if
  26. end
  27.