home *** CD-ROM | disk | FTP | other *** search
/ PC go! 1996 January / Image.iso / pcgo / demo / lotus / lwp30.exe / lwp30.DXR / 00061_scripts.ls < prev    next >
Encoding:
Text File  |  1995-10-30  |  1.2 KB  |  67 lines

  1. global langCode, osCode, gStampCursor
  2.  
  3. on startMovie
  4.   go(1)
  5.   set gStampCursor to [the number of cast "stampCursor", the number of cast "stampMask"]
  6. end
  7.  
  8. on setLangCursor c
  9.   repeat with i = 3 to 7
  10.     set the cursor of sprite i to c
  11.   end repeat
  12. end
  13.  
  14. on setAgreeCursor c
  15.   repeat with i = 9 to 10
  16.     set the cursor of sprite i to c
  17.   end repeat
  18. end
  19.  
  20. on setOSCursor c
  21.   repeat with i = 11 to 12
  22.     set the cursor of sprite i to c
  23.   end repeat
  24. end
  25.  
  26. on chooseLanguage lCode
  27.   set langCode to lCode
  28.   setLangCursor(0)
  29.   go(lCode)
  30. end
  31.  
  32. on agreeLicense
  33.   setAgreeCursor(0)
  34.   go("os")
  35. end
  36.  
  37. on disagreeLicense
  38.   quit()
  39. end
  40.  
  41. on chooseOS os
  42.   set osCode to os
  43.   setOSCursor(0)
  44.   set the cursor of sprite 14 to gStampCursor
  45.   launchInstaller()
  46.   go("launch")
  47. end
  48.  
  49. on launchInstaller
  50.   set fName to the pathName & "lwp" & osCode & langCode & "\install.exe"
  51.   if the machineType = 256 then
  52.     open(fName)
  53.   end if
  54. end
  55.  
  56. on checkRollovers firstSprite, lastSprite
  57.   repeat with i = firstSprite to lastSprite
  58.     if rollOver(i) and the mouseUp then
  59.       set the castNum of sprite i to the castNum of sprite i + 20
  60.       updateStage()
  61.       repeat while rollOver(i) and the mouseUp
  62.       end repeat
  63.       exit repeat
  64.     end if
  65.   end repeat
  66. end
  67.