I have been searching all over about removing embedded swf but couldn’t find any solution.
Here is my scenario
[Embed(source="hero.swf")]
var Hero:Class;
var hero:Sprite = new Hero();
this.addChild(hero);
//now say after some button click I have to remove this swf
this.removeChild(hero);
//the swf goes away but its sound keeps on playing
So is there any method to completely remove it just like Loader.unloadAndStop().
Any help will be greatly appreciated.