home *** CD-ROM | disk | FTP | other *** search
/ 1&1 Multimedia Trend 1996 11 B / MM_TREND.ISO / prog / isdn / shared.dir / 00308.ls < prev    next >
Encoding:
Text File  |  1996-09-17  |  8.0 KB  |  266 lines

  1. on hauptroll var, var1
  2.   repeat with dummy = 0 to var1 - 1
  3.     if rollOver(24 + dummy) then
  4.       set the castNum of sprite (24 + dummy) to var + 1 + (dummy * 3)
  5.       updateStage()
  6.     end if
  7.     if (rollOver(24 + dummy) = 0) and (the castNum of sprite (24 + dummy) <> (var + (dummy * 2))) then
  8.       set the castNum of sprite (24 + dummy) to var + (dummy * 3)
  9.     end if
  10.   end repeat
  11.   updateStage()
  12. end
  13.  
  14. on nebenroll1 var, var1
  15.   repeat with dummy = 0 to var1 - 1
  16.     if rollOver(46 + dummy) then
  17.       set the castNum of sprite (46 + dummy) to var + 1 + (dummy * 3)
  18.       updateStage()
  19.     end if
  20.     if (rollOver(46 + dummy) = 0) and (the castNum of sprite (46 + dummy) <> (var + (dummy * 3))) then
  21.       set the castNum of sprite (46 + dummy) to var + (dummy * 3)
  22.     end if
  23.   end repeat
  24.   updateStage()
  25. end
  26.  
  27. on nebenroll3 var, var1
  28.   repeat with dummy = 0 to var1 - 1
  29.     if rollOver(44 + dummy) then
  30.       set the castNum of sprite (44 + dummy) to var + 1 + (dummy * 3)
  31.       updateStage()
  32.     end if
  33.     if (rollOver(44 + dummy) = 0) and (the castNum of sprite (44 + dummy) <> (var + (dummy * 3))) then
  34.       set the castNum of sprite (44 + dummy) to var + (dummy * 3)
  35.     end if
  36.   end repeat
  37.   updateStage()
  38. end
  39.  
  40. on nebenroll4 var, var1
  41.   global schalterT4
  42.   repeat with dummy = 0 to var1 - 1
  43.     if rollOver(41 + dummy) then
  44.       if (dummy = 0) and (schalterT4 = 1) then
  45.         set the castNum of sprite (41 + dummy) to 348
  46.       end if
  47.       if (dummy = 1) and (schalterT4 = 0) then
  48.         set the castNum of sprite (41 + dummy) to 351
  49.       end if
  50.       if dummy = 2 then
  51.         set the castNum of sprite (41 + dummy) to var + 1 + (dummy * 3)
  52.       end if
  53.       updateStage()
  54.     end if
  55.     if rollOver(41 + dummy) = 0 then
  56.       if (dummy = 0) and (schalterT4 = 1) then
  57.         set the castNum of sprite (41 + dummy) to 347
  58.       end if
  59.       if (dummy = 1) and (schalterT4 = 0) then
  60.         set the castNum of sprite (41 + dummy) to 350
  61.       end if
  62.       if dummy = 2 then
  63.         set the castNum of sprite (41 + dummy) to var + (dummy * 3)
  64.       end if
  65.     end if
  66.   end repeat
  67.   updateStage()
  68. end
  69.  
  70. on nebenroll5 var, var1
  71.   global schalterT5, posSlider
  72.   repeat with dummy = 0 to var1 - 1
  73.     if rollOver(40 + dummy) then
  74.       set the castNum of sprite (40 + dummy) to var + 1 + (dummy * 3)
  75.       updateStage()
  76.     end if
  77.     if (rollOver(40 + dummy) = 0) and (the castNum of sprite (40 + dummy) <> (var + (dummy * 3))) then
  78.       set the castNum of sprite (40 + dummy) to var + (dummy * 3)
  79.     end if
  80.     set the locV of sprite 38 to 346
  81.     repeat while the stillDown
  82.       if schalterT5 = 0 then
  83.         if the mouseH < 588 then
  84.           set the locH of sprite 38 to constrainH(37, the mouseH)
  85.           set posSlider to the locH of sprite 38
  86.           set the volume of sound 2 to (posSlider - 497) * (255 / 68)
  87.           set the volume of sound 1 to (posSlider - 497) * (255 / 68)
  88.         end if
  89.         set the locV of sprite 38 to 346
  90.         updateStage()
  91.       end if
  92.     end repeat
  93.     puppetSound(0)
  94.   end repeat
  95.   set the locV of sprite 38 to 346
  96.   updateStage()
  97. end
  98.  
  99. on balkenT0
  100.   set the locV of sprite 46 to 1077
  101.   set the blend of sprite 36 to 100
  102.   set the castNum of sprite 36 to the number of cast "BalkenT1" + 1
  103.   set the castNum of sprite 36 to the number of cast "BalkenT1"
  104.   set the blend of sprite 46 to 100
  105.   set the blend of sprite 47 to 100
  106.   set the locV of sprite 46 to 477
  107.   set the blend of sprite 46 to 0
  108.   set the castNum of sprite 47 to the number of cast "but2BalkenT1" + 2
  109.   set the castNum of sprite 36 to the number of cast "BalkenT1" + 1
  110.   set the blend of sprite 36 to 0
  111.   set the blend of sprite 47 to 0
  112. end
  113.  
  114. on balkenT1
  115.   global balkenT1
  116.   set balkenT1 to balkenT1 + 1
  117.   if balkenT1 > 1 then
  118.     set balkenT1 to 0
  119.   end if
  120.   if balkenT1 = 1 then
  121.     puppetSound("raus")
  122.     set the blend of sprite 36 to 100
  123.     set the locH of sprite 36 to 535
  124.     set the locH of sprite 46 to 477
  125.     set the castNum of sprite 36 to the number of cast "BalkenT1" + 1
  126.     updateStage()
  127.     set the castNum of sprite 36 to the number of cast "BalkenT1"
  128.     set the blend of sprite 46 to 100
  129.     updateStage()
  130.     set the blend of sprite 47 to 100
  131.   else
  132.     puppetSound("click")
  133.     set the locH of sprite 46 to 1077
  134.     set the locH of sprite 36 to 1027
  135.     set the blend of sprite 46 to 0
  136.     set the castNum of sprite 36 to the number of cast "BalkenT1" + 1
  137.     updateStage()
  138.     puppetSound("raus")
  139.     set the castNum of sprite 36 to the number of cast "BalkenT1"
  140.     updateStage()
  141.     set the blend of sprite 36 to 0
  142.     set the blend of sprite 47 to 0
  143.     updateStage()
  144.   end if
  145. end
  146.  
  147. on BalkenT3
  148.   global BalkenT3
  149.   set BalkenT3 to BalkenT3 + 1
  150.   if BalkenT3 > 1 then
  151.     set BalkenT3 to 0
  152.   end if
  153.   if BalkenT3 = 1 then
  154.     puppetSound("raus")
  155.     set the blend of sprite 35 to 100
  156.     set the castNum of sprite 35 to the number of cast "BalkenT3" + 1
  157.     updateStage()
  158.     set the castNum of sprite 35 to the number of cast "BalkenT3"
  159.     set the blend of sprite 44 to 100
  160.     updateStage()
  161.     set the blend of sprite 45 to 100
  162.   else
  163.     puppetSound("click")
  164.     set the blend of sprite 44 to 0
  165.     set the castNum of sprite 45 to the number of cast "but2BalkenT3" + 2
  166.     updateStage()
  167.     puppetSound("raus")
  168.     set the castNum of sprite 35 to the number of cast "BalkenT3" + 1
  169.     updateStage()
  170.     set the blend of sprite 35 to 0
  171.     set the blend of sprite 45 to 0
  172.     updateStage()
  173.   end if
  174. end
  175.  
  176. on balkenT4
  177.   global balkenT1, startMovie, balkenT5, balkenges, balkenT4, schalterT4
  178.   if balkenT1 = 1 then
  179.     balkenT1()
  180.   end if
  181.   if balkenT5 = 1 then
  182.     balkenT5()
  183.   end if
  184.   set balkenT4 to balkenT4 + 1
  185.   if balkenT4 > 1 then
  186.     set balkenT4 to 0
  187.   end if
  188.   if balkenT4 = 1 then
  189.     puppetSound("raus")
  190.     set the blend of sprite 34 to 100
  191.     set the blend of sprite 41 to 100
  192.     set the blend of sprite 42 to 100
  193.     if schalterT4 = 0 then
  194.       set the castNum of sprite 41 to the number of cast "but1BalkenT4"
  195.       set the castNum of sprite 42 to the number of cast "but2BalkenT4" + 1
  196.     else
  197.       set the castNum of sprite 41 to the number of cast "but1BalkenT4" + 1
  198.       set the castNum of sprite 42 to the number of cast "but2BalkenT4"
  199.     end if
  200.     set the castNum of sprite 34 to the number of cast "BalkenT4" + 1
  201.     updateStage()
  202.     set the castNum of sprite 34 to the number of cast "BalkenT4"
  203.     updateStage()
  204.     set the blend of sprite 43 to 100
  205.   else
  206.     puppetSound("click")
  207.     set the castNum of sprite 43 to the number of cast "but3BalkenT4" + 2
  208.     updateStage()
  209.     puppetSound("raus")
  210.     set the castNum of sprite 34 to the number of cast "BalkenT4" + 1
  211.     updateStage()
  212.     set the blend of sprite 34 to 0
  213.     set the blend of sprite 41 to 0
  214.     set the blend of sprite 42 to 0
  215.     set the blend of sprite 43 to 0
  216.     updateStage()
  217.   end if
  218. end
  219.  
  220. on balkenT5
  221.   global posSlider, balkenT1, balkenT4, balkenT5, balkenges
  222.   if balkenT4 = 1 then
  223.     balkenT4()
  224.   end if
  225.   if balkenT1 = 1 then
  226.     balkenT1()
  227.   end if
  228.   set balkenT5 to balkenT5 + 1
  229.   if balkenT5 > 1 then
  230.     set balkenT5 to 0
  231.   end if
  232.   if balkenT5 = 1 then
  233.     puppetSound("raus")
  234.     set the locH of sprite 38 to posSlider
  235.     set the blend of sprite 33 to 100
  236.     set the blend of sprite 38 to 100
  237.     set the castNum of sprite 33 to the number of cast "BalkenT5" + 1
  238.     updateStage()
  239.     set the castNum of sprite 33 to the number of cast "BalkenT5"
  240.     set the blend of sprite 39 to 100
  241.     updateStage()
  242.     set the blend of sprite 40 to 100
  243.   else
  244.     puppetSound("click")
  245.     set the castNum of sprite 40 to the number of cast "but3BalkenT5" + 2
  246.     updateStage()
  247.     puppetSound("raus")
  248.     set the blend of sprite 39 to 0
  249.     set the castNum of sprite 33 to the number of cast "BalkenT5" + 1
  250.     updateStage()
  251.     set the blend of sprite 33 to 0
  252.     set the blend of sprite 38 to 0
  253.     set the blend of sprite 40 to 0
  254.     updateStage()
  255.     set the castNum of sprite 40 to the number of cast "but3BalkenT5"
  256.   end if
  257. end
  258.  
  259. on inhaltdown
  260.   puppetSound("click")
  261.   set the castNum of sprite 26 to the number of cast "tinhalt" + 2
  262.   updateStage()
  263.   set the castNum of sprite 26 to the number of cast "tinhalt"
  264.   updateStage()
  265. end
  266.