home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1998 December / WPCDEC98.ISO / dxrs / Sofwpc12.dxr / 00016.ls < prev    next >
Encoding:
Text File  |  1998-10-12  |  4.9 KB  |  137 lines

  1. on preview
  2.   global whichbutton, whichsection, whatnumber, SOFtemp, SOFrolllist, t, whichprog, newlist, SOFfaintbacks, SOFinstall, SOFinstallbutton, SOFtemp5, SOFSelectedSection
  3.   SOFSetupPreview()
  4.   if rollOver(16) then
  5.     set the member of sprite 16 to member "menublack"
  6.   else
  7.     set the member of sprite 16 to member "menured"
  8.   end if
  9.   repeat with f = 5 to 9
  10.     set the member of sprite f to member "softdot"
  11.     set the loc of sprite f to point(2000, 2000)
  12.   end repeat
  13.   set SOFfaintbacks to whichsection & "_back"
  14.   set the member of sprite 1 to member SOFfaintbacks
  15.   set the loc of sprite 1 to point(320, 240)
  16.   set the member of sprite 2 to member "temp2"
  17.   set the ink of sprite 2 to 8
  18.   set the member of sprite 3 to member "SOFtextbox"
  19.   set the loc of sprite 3 to point(0, 308)
  20.   repeat with q = 30 to 32
  21.     set the member of sprite q to member "softdot"
  22.     set the loc of sprite q to point(2000, 2000)
  23.   end repeat
  24.   set posv to 67
  25.   repeat with p = 20 to 32
  26.     set the ink of sprite p to 36
  27.   end repeat
  28.   if the number of member (SOFtemp & "_productinfo") = -1 then
  29.     set the loc of sprite 20 to point(2000, 2000)
  30.   else
  31.     set the member of sprite 20 to member "productinfo"
  32.     set the loc of sprite 20 to point(127, posv)
  33.     set posv to posv + 20
  34.   end if
  35.   if the number of member (SOFtemp & "_sysreqs") = -1 then
  36.     set the loc of sprite 21 to point(2000, 2000)
  37.   else
  38.     set the member of sprite 21 to member "systemreq"
  39.     set the loc of sprite 21 to point(127, posv)
  40.     set posv to posv + 20
  41.   end if
  42.   if the number of member (SOFtemp & "_techsupport") = -1 then
  43.     set the loc of sprite 22 to point(2000, 2000)
  44.   else
  45.     set the member of sprite 22 to member "techsupport"
  46.     set the loc of sprite 22 to point(127, posv)
  47.     set posv to posv + 20
  48.   end if
  49.   if the number of member (SOFtemp & "_salesenqs") = -1 then
  50.     set the loc of sprite 23 to point(2000, 2000)
  51.   else
  52.     set the member of sprite 23 to member "salesenquiries"
  53.     set the loc of sprite 23 to point(127, posv)
  54.     set posv to posv + 20
  55.   end if
  56.   if the number of member (SOFtemp & "_uninstallinfo") = -1 then
  57.     set the loc of sprite 24 to point(2000, 2000)
  58.   else
  59.     set the member of sprite 24 to member "uninstall"
  60.     set the loc of sprite 24 to point(127, posv)
  61.     set posv to posv + 20
  62.   end if
  63.   if the number of member (SOFtemp & "_competition") = -1 then
  64.     set the loc of sprite 25 to point(2000, 2000)
  65.   else
  66.     set the member of sprite 25 to member "competition"
  67.     set the loc of sprite 25 to point(127, posv)
  68.     set posv to posv + 20
  69.   end if
  70.   if the number of member (SOFtemp & "_weblink") = -1 then
  71.     set the loc of sprite 26 to point(2000, 2000)
  72.   else
  73.     set the member of sprite 26 to member "weblink"
  74.     set the loc of sprite 26 to point(127, posv)
  75.     set posv to posv + 20
  76.   end if
  77.   set the member of sprite 32 to member "dots"
  78.   set the loc of sprite 32 to point(127, posv)
  79.   set the member of sprite 2 to member "temp2"
  80.   repeat with q = 30 to 31
  81.     set the member of sprite q to member "softdot"
  82.     set the loc of sprite q to point(2000, 2000)
  83.   end repeat
  84.   set thiscount to "put count(" & whichsection & ") into t"
  85.   do(thiscount)
  86.   if rollOver(81) then
  87.     set the member of sprite 85 to member "ENTERTAINMENT2"
  88.     set the member of sprite 86 to member "entertainmentrollover"
  89.     set the loc of sprite 86 to point(193, 397)
  90.   else
  91.     if rollOver(82) then
  92.       set the member of sprite 85 to member "DEVELOP2"
  93.       set the member of sprite 86 to member "developrollover"
  94.       set the loc of sprite 86 to point(319, 396)
  95.     else
  96.       if rollOver(83) then
  97.         set the member of sprite 85 to member "SOHO2"
  98.         set the member of sprite 86 to member "utilsrollover"
  99.         set the loc of sprite 86 to point(446, 397)
  100.       else
  101.         if rollOver(84) then
  102.           set the member of sprite 85 to member "UTILS2"
  103.           set the member of sprite 86 to member "sohorollover"
  104.           set the loc of sprite 86 to point(573, 396)
  105.         else
  106.           set the member of sprite 85 to SOFSelectedSection
  107.           set the member of sprite 86 to member "softdot"
  108.           set the loc of sprite 86 to point(2000, 2000)
  109.         end if
  110.       end if
  111.     end if
  112.   end if
  113.   repeat with B = 20 to 29
  114.     if rollOver(B) then
  115.       set the member of sprite B to member getAt(getAt(SOFrolllist, B - 19), 2)
  116.       next repeat
  117.     end if
  118.     set the member of sprite B to member getAt(getAt(SOFrolllist, B - 19), 1)
  119.   end repeat
  120.   if rollOver(41) then
  121.     set the member of sprite 41 to member SOFinstall
  122.   else
  123.     set the member of sprite 41 to member SOFinstallbutton
  124.   end if
  125.   if rollOver(71) then
  126.     set the member of sprite 71 to member "leftbrowsered"
  127.   else
  128.     set the member of sprite 71 to member "leftbrowse"
  129.   end if
  130.   if rollOver(72) then
  131.     set the member of sprite 72 to member "rightbrowsered"
  132.   else
  133.     set the member of sprite 72 to member "rightbrowse"
  134.   end if
  135.   go(the frame)
  136. end
  137.