Fade out sound clip without a button

Hey, I have an animation with some sound attached to it from the library. I want to fade out the sound when the animation ends… How do I do this? My code for starting the sound is:

var music:Sound = new Sound();
music.attachSound(“mySound”);
music.start(0, 5);

Thanks for any advise!