home *** CD-ROM | disk | FTP | other *** search
- on tnebenroll5 var, var1
- global schalterT5, posSlider
- repeat with dummy = 0 to var1 - 1
- if rollOver(40 + dummy) then
- set the castNum of sprite (40 + dummy) to var + 1 + (dummy * 3)
- updateStage()
- end if
- if (rollOver(40 + dummy) = 0) and (the castNum of sprite (40 + dummy) <> (var + (dummy * 3))) then
- set the castNum of sprite (40 + dummy) to var + (dummy * 3)
- end if
- repeat while the stillDown
- if schalterT5 = 0 then
- if rollOver(38) then
- set the locH of sprite 38 to constrainH(37, the mouseH)
- set posSlider to the locH of sprite 38
- set the volume of sound 2 to (posSlider - 497) * (255 / 68)
- set the volume of sound 1 to (posSlider - 497) * (255 / 68)
- end if
- set the locV of sprite 38 to 346
- updateStage()
- end if
- end repeat
- puppetSound(0)
- end repeat
- set the locV of sprite 38 to 346
- updateStage()
- end
-