home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1997 August / Personal_Computer_World_Aug_97.iso / dxrs / cdxpcw08.dxr / 00043_CDXHelpButton.ls < prev    next >
Encoding:
Text File  |  1997-05-22  |  637 b   |  22 lines

  1. on CDXHelpButton
  2.   global CDXHelpOnStage
  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.           set the castNum of sprite 36 to the number of member "CDXHelpInfo"
  10.           set the loc of sprite 36 to point(200, 200)
  11.           updateStage()
  12.           set CDXHelpOnStage to 1
  13.           repeat while the mouseDown
  14.           end repeat
  15.           exit repeat
  16.         end if
  17.       end repeat
  18.       set the castNum of sprite 20 to the number of member "HELP"
  19.     end if
  20.   end if
  21. end
  22.