home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1997 December / WPCDEC97.ISO / DXRS / RESWDEC.DXR / 00020_RESLaunchThings.ls < prev    next >
Encoding:
Text File  |  1997-10-13  |  5.3 KB  |  159 lines

  1. on RESLaunchThings
  2.   global DriveLtr
  3.   if rollOver(3) then
  4.     set the castNum of sprite 3 to the number of member "MainLibTwo"
  5.     updateStage()
  6.     repeat while rollOver(3)
  7.       if the mouseDown then
  8.         repeat while the mouseDown
  9.         end repeat
  10.         if the machineType < 200 then
  11.           set the castNum of sprite 36 to 71
  12.           set the loc of sprite 36 to point(210, 185)
  13.           set RESNETUP to 0
  14.           updateStage()
  15.           set the castNum of sprite 3 to the number of member "MainLibOne"
  16.           updateStage()
  17.           repeat while 1
  18.             if RESNETUP = 1 then
  19.               if word the mouseWord of field 71 = "YES" then
  20.                 set RESThisword to the mouseWord
  21.                 set the foreColor of word RESThisword of field 71 to 164
  22.                 repeat while word the mouseWord of field 71 = "YES"
  23.                   if the mouseDown then
  24.                     set RESYesOrCancel to 1
  25.                     exit repeat
  26.                   end if
  27.                 end repeat
  28.                 set the foreColor of word RESThisword of field 71 to 255
  29.               end if
  30.               if word the mouseWord of field 71 = "NO" then
  31.                 set RESThisword to the mouseWord
  32.                 set the foreColor of word RESThisword of field 71 to 164
  33.                 repeat while word the mouseWord of field 71 = "NO"
  34.                   if the mouseDown then
  35.                     set RESYesOrCancel to 2
  36.                     exit repeat
  37.                     updateStage()
  38.                   end if
  39.                 end repeat
  40.                 set the foreColor of word RESThisword of field 71 to 255
  41.               end if
  42.               if RESYesOrCancel > 0 then
  43.                 exit repeat
  44.               else
  45.                 if (the mouseCast <> 71) and the mouseDown then
  46.                   beep()
  47.                 end if
  48.               end if
  49.               next repeat
  50.             end if
  51.             if the mouseUp then
  52.               set RESNETUP to 1
  53.             end if
  54.           end repeat
  55.           set RESNETUP to 0
  56.           if RESYesOrCancel = 2 then
  57.             set the locH of sprite 36 to 2000
  58.             updateStage()
  59.             repeat while the mouseDown
  60.             end repeat
  61.           else
  62.             set the castNum of sprite 36 to 69
  63.             set the loc of sprite 36 to point(210, 185)
  64.             updateStage()
  65.             repeat while the mouseDown
  66.             end repeat
  67.           end if
  68.           next repeat
  69.         end if
  70.         set the castNum of sprite 36 to 71
  71.         set the loc of sprite 36 to point(210, 185)
  72.         set RESNETUP to 0
  73.         set the castNum of sprite 3 to the number of member "MainLibOne"
  74.         updateStage()
  75.         repeat while 1
  76.           if RESNETUP = 1 then
  77.             if word the mouseWord of field 71 = "YES" then
  78.               set RESThisword to the mouseWord
  79.               set the foreColor of word RESThisword of field 71 to 164
  80.               repeat while word the mouseWord of field 71 = "YES"
  81.                 if the mouseDown then
  82.                   set RESYesOrCancel to 1
  83.                   exit repeat
  84.                 end if
  85.               end repeat
  86.               set the foreColor of word RESThisword of field 71 to 255
  87.             end if
  88.             if word the mouseWord of field 71 = "NO" then
  89.               set RESThisword to the mouseWord
  90.               set the foreColor of word RESThisword of field 71 to 164
  91.               repeat while word the mouseWord of field 71 = "NO"
  92.                 if the mouseDown then
  93.                   set RESYesOrCancel to 2
  94.                   exit repeat
  95.                   updateStage()
  96.                 end if
  97.               end repeat
  98.               set the foreColor of word RESThisword of field 71 to 255
  99.             end if
  100.             if RESYesOrCancel > 0 then
  101.               exit repeat
  102.             else
  103.               if (the mouseCast <> 71) and the mouseDown then
  104.                 beep()
  105.               end if
  106.             end if
  107.             next repeat
  108.           end if
  109.           if the mouseUp then
  110.             set RESNETUP to 1
  111.           end if
  112.         end repeat
  113.         set RESNETUP to 0
  114.         if RESYesOrCancel = 2 then
  115.           set the locH of sprite 36 to 2000
  116.           updateStage()
  117.           repeat while the mouseDown
  118.           end repeat
  119.           next repeat
  120.         end if
  121.         set the castNum of sprite 36 to 69
  122.         set the loc of sprite 36 to point(210, 185)
  123.         updateStage()
  124.         repeat while the mouseDown
  125.         end repeat
  126.         StartBrowser("HTML/res/resource.htm")
  127.       end if
  128.     end repeat
  129.     set the castNum of sprite 3 to the number of member "MainLibOne"
  130.     updateStage()
  131.   end if
  132.   if rollOver(6) then
  133.     set the member of sprite 6 to member "copmbuttonBrown"
  134.     updateStage()
  135.     repeat while rollOver(6)
  136.       if the mouseDown then
  137.         repeat while the mouseDown
  138.         end repeat
  139.         open(DriveLtr & "COMPWISE.EXE")
  140.       end if
  141.     end repeat
  142.     set the member of sprite 6 to member "copmbuttonWhite"
  143.     updateStage()
  144.   end if
  145.   if rollOver(7) then
  146.     set the member of sprite 7 to member "ClarinetBROWN"
  147.     updateStage()
  148.     repeat while rollOver(7)
  149.       if the mouseDown then
  150.         repeat while the mouseDown
  151.         end repeat
  152.         open(DriveLtr & "CLARSCRN.EXE")
  153.       end if
  154.     end repeat
  155.     set the member of sprite 7 to member "ClarinetWhite"
  156.     updateStage()
  157.   end if
  158. end
  159.