troubleshooting Question

Sound - crossfade between two loops

Avatar of clintnash
clintnashFlag for United States of America asked on
Adobe Flash
2 Comments1 Solution202 ViewsLast Modified:
I have an simple banner flash, It has a loop that plays through the first part 3/4 of the animation, at that point, I want to fade out the first loop while fading in the other.  I have managed to accomplish a fade out using.


and decreasign the volume in a series of keyframes, however when I try to add get the other loop to start fading in before the other is done, its just doesn't work.

In the first frame of a layer called Sound level 1 I call this.

firstSound=new Sound();

In the second frame of a seperate layer called background I call this...

if (playing!=true) {

This works just fine, In a 3rd layer called Sound Level 2 I tried changing the attached sound like so..
firstSound=new Sound();

And then in the 1st layer bring the volume back up, that didn't work, nor did creating a new layer and creating a new sound object call secondSound...

any advice on smoothly transitioning between loops is greatly appreciated, my experience level is slightly above beginner.


Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros