home *** CD-ROM | disk | FTP | other *** search
- global vVolumeLevel
-
- on exitFrame
- stepAnims()
- rollMainRaw()
- set fadeDist to vVolumeLevel - the volume of sound 2
- if fadeDist <> 0 then
- set fadeStep to max(fadeDist / (marker(1) - the frame), 1)
- set the volume of sound 2 to the volume of sound 2 + fadeStep
- end if
- end
-