I’ve made an application in AS3 which contains 5 buttons who each loads a different application (SWF) that contains embedded video. I’ve made this very simple with a loader.
var ldr:Loader;
[…]
addChild(ldr);
When I add the child ldr, I also add a button with an eventListner that will remove the child when clicked, by calling this function…
private function removeSWF(e:MouseEvent):void {
removeChild(ldr);
}
and it almost works… the SWF is removed from the stage, but the sound continues to play.
How do i do to stop the sound?
Hope you understand my question…
and thanks for a great Forum…