like title, how can i do it?
Music Volume Fadein and Fadeout
SHiLLySiT
(Alex Larioza)
#2
You can manually fade out the volume by changing the volume property of the relevant Sfx object.
Another method would be to use a SfxFader. For example, the following fades out the sfx object βmusicβ over a course of ~3 seconds:
var fader:SfxFader = new SfxFader(music);
fader.fadeTo(0.0, 3.0);