
February 26th, 2004, 03:39 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Help with flash audio on/off!
Ok,so here's the deal...
I built a site that pulls a random .swf file into layer4 on preload. The file contains only a music loop, and an on/off button. The idea behind the random movie is that the background music can be different each time the user visits the site.
The problem is that when the visitor reaches Scene 3, I want the background music to stop and a NEW full song to play, only if the music has not been turned off previously. The song can be an external .swf or .mp3, as long as I can turn it on or off and it doesn't slow down the entire site. If the music was off previously, and the visitor decides to turn the music on while in Scene 3, it should play the full song, not the music loop. When the visitor leaves Scene 3, the full song should stop and the music loop should return to the way it was (on or off).
Does this make sense? I know you all hate scenes but that's just the way my site was configured. I bet some if/then script could solve everything... I just haven't been clever enough to figure it out yet. See what you can do.
Thanks...
|