home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 - Expo 2000 / Image.iso / t-online / show / t_intro.dxr / 00151.ls < prev    next >
Encoding:
Text File  |  1996-11-25  |  751 b   |  24 lines

  1. on mouseDown
  2.   global schalterT5, posSlider, balkenT5
  3.   set schalterT5 to schalterT5 + 1
  4.   if balkenT5 = 1 then
  5.     if schalterT5 > 1 then
  6.       set schalterT5 to 0
  7.     end if
  8.     puppetSound("click")
  9.     if schalterT5 = 0 then
  10.       set the castNum of sprite 39 to the number of member "but1BalkenT5"
  11.       set the locH of sprite 38 to posSlider
  12.       set the volume of sound 2 to (posSlider - 497) * (255 / 68)
  13.       set the volume of sound 1 to (posSlider - 497) * (255 / 68)
  14.     end if
  15.     if schalterT5 = 1 then
  16.       set the castNum of sprite 39 to the number of member "but1BalkenT5" + 1
  17.       set the locH of sprite 38 to 497
  18.       set the volume of sound 2 to 0
  19.       set the volume of sound 1 to 20
  20.     end if
  21.     updateStage()
  22.   end if
  23. end
  24.