
If you are using the ActionScript 3 version of the Flash component, there's a chance that audio from a video or MP3 file may continue to be audible after a SWF containing the component has been unloaded from a parent movie, or when moving the playhead of a timeline to a keyframe where the component is no longer visible. This is because of how garbage collection is handled in Flash Player 9 / ActionScript 3, whereby Flash doesn't automatically close audio channels and/or events/listeners when content is unloaded.
To stop the audio and "silence" the component, you need to call the halt() method before unloading a SWF containing SSP or before progressing to a different timeline frame.
For example, if you had a button that moved the playhead to a different frame, you could do something like this:
my_btn.addEventListener("click",afterClick);
function afterClick(e:MouseEvent):void {
my_ssp.halt();
gotoAndStop(10);
}
After clicking the button the halt() method in the instance of SlideShowPro (referenced with "my_ssp") will be called and any audio will be silenced.
If you are publishing to Flash Player 10, and are loading a SWF containing SlideShowPro into a parent SWF using the Loader class, you can take advantage of a new unloadAndStop() method that was added by Adobe (because of these issues). Simply call unloadAndStop() instead of unload() to recursively shut off any event listeners, audio, or other content in the loaded SWF.