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

  1. on exitFrame
  2.   global balkenT1, balkenT2, BalkenT3, balkenT4, balkenT5, balkenges, schalterT4, schnell, flexibel, wiegeht, kostet, fragen
  3.   set balkenges to balkenT1 + balkenT2 + BalkenT3 + balkenT4 + balkenT5
  4.   if schalterT4 = 0 then
  5.     go(the frame)
  6.   end if
  7.   if schalterT4 = 1 then
  8.     if schnell = 0 then
  9.       go("i2")
  10.     else
  11.       if flexibel = 0 then
  12.         go("i3")
  13.       else
  14.         if wiegeht = 0 then
  15.           go("i4")
  16.         else
  17.           if kostet = 0 then
  18.             go("i5")
  19.           else
  20.             if fragen = 0 then
  21.               go("i6")
  22.             else
  23.               if fragen = 1 then
  24.                 set flexibel to 0
  25.                 set schnell to 0
  26.                 set wiegeht to 0
  27.                 set kostet to 0
  28.                 set fragen to 0
  29.               end if
  30.             end if
  31.           end if
  32.         end if
  33.       end if
  34.     end if
  35.   end if
  36. end
  37.  
  38. on idle
  39.   global posSlider, balkenT1, balkenT2, BalkenT3, balkenT4, balkenT5, balkenges
  40.   if rollOver(1) then
  41.     go("roll")
  42.   end if
  43.   if rollOver(2) then
  44.     go("r2")
  45.     repeat while rollOver(2)
  46.       if the mouseDown = 1 then
  47.         exit
  48.       end if
  49.     end repeat
  50.   end if
  51.   if rollOver(3) then
  52.     go("r3")
  53.     repeat while rollOver(3)
  54.       if the mouseDown = 1 then
  55.         exit
  56.       end if
  57.     end repeat
  58.   end if
  59.   if rollOver(4) then
  60.     go("r4")
  61.     repeat while rollOver(4)
  62.       if the mouseDown = 1 then
  63.         exit
  64.       end if
  65.     end repeat
  66.   end if
  67.   if rollOver(5) then
  68.     go("r5")
  69.     repeat while rollOver(5)
  70.       if the mouseDown = 1 then
  71.         exit
  72.       end if
  73.     end repeat
  74.   end if
  75.   if rollOver(6) and (balkenT5 = 0) then
  76.     set the locH of sprite 33 to 533 + 600
  77.     set the locH of sprite 34 to 533 + 600
  78.     set the locH of sprite 41 to 1076
  79.     set the locH of sprite 38 to posSlider + 600
  80.     set the locH of sprite 39 to 1088
  81.     go("r6")
  82.     repeat while rollOver(6)
  83.       if the mouseDown = 1 then
  84.         exit
  85.       end if
  86.     end repeat
  87.   end if
  88.   if balkenges = 0 then
  89.     hauptroll(316, 9)
  90.   end if
  91.   if balkenT1 = 1 then
  92.     nebenroll1(370, 2)
  93.   end if
  94.   if BalkenT3 = 1 then
  95.     nebenroll3(355, 2)
  96.   end if
  97.   if balkenT4 = 1 then
  98.     nebenroll4(346, 3)
  99.   end if
  100.   if balkenT5 = 1 then
  101.     nebenroll5(365, 1)
  102.   end if
  103. end
  104.