home *** CD-ROM | disk | FTP | other *** search
- global gslevel
-
- on startMovie
- set gslevel to the soundLevel
- end
-
- on changevol
- puppetSprite(24, 1)
- set the type of sprite 24 to 1
- set the ink of sprite 24 to 36
- set the foreColor of sprite 24 to 255
- set the backColor of sprite 24 to 0
- set the castNum of sprite 24 to the number of cast ("VOL" & gslevel)
- set the locH of sprite 24 to 320
- set the locV of sprite 24 to 240
- updateStage()
- end
-
- on chvol
- set gslevel to (mouseV() - 156) / 18
- set the soundLevel to gslevel
- changevol()
- end
-