ok, this whole sound loops thing is driving me nuts.
Basically, I have a large flash Movie, that loads other movies into it…it’s all gonna be placed on a CD for a presentation…so size doesn’t really matter.
Anyway, I have a sound loop when the movie first starts…
On the first keyframe in the timeline i have:
[AS]
firstSound=new Sound();
firstSound.attachSound(“intro_loop01”);
_root.firstSound.start(0,1);
playing=true;
[/AS]
I’m only looping it once, because it is like a minute long.
I have two buttons to control the stop and play of this…they have the following actions applied to them:
STOP BUTTON:
[AS]
on (press) {_root.firstSound.stop(“intro_loop01”);
playing=false;
}
[/AS]
START BUTTON:
[AS]
on (release) {
if (playing!=true) {
_root.firstSound.start(0,1);
playing=true;
}
}
[/AS]
All this works fine…you click stop…it stops the loop, click play, and it starts over.
However, I am loading other .swf files into empty movie clips…and when these load, I would like the music to change to something else.
Now I got this to work…however…and here’s the real problem:
my other sound loop is only like 6 seconds long…but I need it to be longer and fade out when I need it to.
With the above code…is there a way to fade out the music?
so I can fade in the next?
I mean, if I set the loops to 999 or whatever, how do I fade this out?
Ok…be gentle…I’m very new to the sound part of Flash…seem to be struggling.
I’ve read tons of tutorials…but keep getting confused.
Please help…Please!
Thanks