home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1997 January / WPCJAN97.ISO / reswjan.dxr / 00020_RESLaunchThings.ls < prev    next >
Encoding:
Text File  |  1996-11-07  |  5.3 KB  |  158 lines

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