home *** CD-ROM | disk | FTP | other *** search
- on volchange
- set absh to the mouseH - the left of sprite clickOn()
- if absh >= 100 then
- set the width of sprite 47 to 100
- set the locH of sprite 47 to the locH of sprite 46
- set absh to 100
- else
- if absh <= 0 then
- set the width of sprite 47 to 0
- set the locH of sprite 47 to the left of sprite 46
- set absh to 0
- else
- set the width of sprite 47 to absh
- set the locH of sprite 47 to the left of sprite 46 + (absh / 2)
- end if
- end if
- updateStage()
- set the soundLevel to absh / 100.0 * 7
- end
-