home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 August / WPCAUG96.ISO / file.exe / file.dxr / 00088_IFLACROBAT.ls < prev    next >
Encoding:
Text File  |  1996-06-17  |  1.7 KB  |  60 lines

  1. on IFLACROBAT
  2.   puppetSprite(20, 1)
  3.   updateStage()
  4.   set the castNum of sprite 20 to 91
  5.   set the ink of sprite 20 to 0
  6.   set the locH of sprite 20 to 300
  7.   set the locV of sprite 20 to 200
  8.   updateStage()
  9.   repeat while 1
  10.     if soundBusy(1) = 0 then
  11.       puppetSound("drumbeat.wav")
  12.       updateStage()
  13.     end if
  14.     if the mouseCast = 91 then
  15.       if word the mouseWord of field 91 = "INSTALL" then
  16.         set GTSThisword to the mouseWord
  17.         set the foreColor of word GTSThisword of field 91 to 0
  18.         repeat while word the mouseWord of field 91 = "INSTALL"
  19.           if the mouseDown then
  20.             set GTSYesOrCancel to 1
  21.             set the castNum of sprite 20 to 86
  22.             updateStage()
  23.           end if
  24.         end repeat
  25.         set the foreColor of word GTSThisword of field 91 to 255
  26.       end if
  27.       if word the mouseWord of field 91 = "SKIP" then
  28.         set GTSThisword to the mouseWord
  29.         set the foreColor of word GTSThisword of field 91 to 0
  30.         repeat while word the mouseWord of field 91 = "SKIP"
  31.           if the mouseDown then
  32.             set GTSYesOrCancel to 2
  33.             set the castNum of sprite 20 to 86
  34.             updateStage()
  35.           end if
  36.         end repeat
  37.         set the foreColor of word GTSThisword of field 91 to 255
  38.       end if
  39.       if GTSYesOrCancel > 0 then
  40.         exit repeat
  41.       end if
  42.       next repeat
  43.     end if
  44.     if the mouseDown then
  45.       beep()
  46.     end if
  47.   end repeat
  48.   if GTSYesOrCancel = 2 then
  49.     set GTSYesOrCancel to 0
  50.     set the loc of sprite 20 to 2000
  51.     updateStage()
  52.   end if
  53.   if GTSYesOrCancel = 1 then
  54.     set the loc of sprite 20 to 2000
  55.     updateStage()
  56.     set GTSYesOrCancel to 0
  57.     open(the pathName & "acroread\english\disk1\setup.exe")
  58.   end if
  59. end
  60.