home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global schalterT5, posSlider, balkenT5
- set schalterT5 to schalterT5 + 1
- if balkenT5 = 1 then
- if schalterT5 > 1 then
- set schalterT5 to 0
- end if
- puppetSound("click")
- if schalterT5 = 0 then
- set the castNum of sprite 39 to the number of member "but1BalkenT5"
- set the locH of sprite 38 to posSlider
- set the volume of sound 2 to (posSlider - 497) * (255 / 68)
- set the volume of sound 1 to (posSlider - 497) * (255 / 68)
- end if
- if schalterT5 = 1 then
- set the castNum of sprite 39 to the number of member "but1BalkenT5" + 1
- set the locH of sprite 38 to 497
- set the volume of sound 2 to 0
- set the volume of sound 1 to 20
- end if
- updateStage()
- end if
- end
-