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

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