Stopping a sound file from repeating.
Hello all,
I'm hoping there is a simple solution out there. I have added two consecutive streaming audio tracks (mp3) to the timeline of a child SWF. The child SWF loads onto a parent SWF using a loader. After loading the child SWF the movieclip and audio plays without a problem.
I have a problem with stopping the audio. After the child is unloaded and the playhead reset in the parent SWF the first audio track from the child SWF begins to play again (but not the one right after it). I have been trying to use the SoundMixer.stopAll(); command to stop the audio. I have not been successful in preventing the audio from playing. I now see that the command only works AFTER the audio begins playing. Is there a better way to control streaming audio embedded in the timeline? I need to prevent it from playing again.
Thanks,
PCN