Question
Fading sound in and out
I am putting a flash website together. It is a picture of a
group of people standing outside and at random intervals a storm
will fade in and out giving dynamic rain/wind/thunder sounds and
lightning. The only problem I have is fading the sound out. The
sound fades in fine with the movie clip but when the movie clip
disappears the sound continues. How do I get the sound to stop?
Here is the code for that part of the flash. The "randomness" of
the storm is set to very high probability on purpose for debugging
reasons.