home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- repeat while the mouseDown
- CheckQT()
- updateStage()
- if rollOver(15) then
- set temp to (the mouseH - the left of sprite the clickOn) / 8
- if temp > 7 then
- set temp to 7
- else
- if temp < 0 then
- set temp to 0
- end if
- end if
- set the castNum of sprite the clickOn to the number of cast string("v" & temp)
- if the soundLevel <> temp then
- set the soundLevel to temp
- end if
- updateStage()
- end if
- end repeat
- end
-