Sorry, this post somehow slipped through the cracks. This is not a bug in the framework, you're just calling removeMediator with the wrong arguments.
If you look at the docs for removeMediator:
http://puremvc.org/pages/docs/AS3/standard/framework_asdoc/org/puremvc/as3/patterns/facade/Facade.html#removeMediator()You'll see that the method takes a String mediatorName, not a mediator instance. The point is you don't have to retrieve it to remove it. You can just remove it by name.
So instead of:
case ApplicationFacade.REMOVE_INTRO:
var _hasMeditor = facade.hasMediator(IntroMediator.NAME)
if(_hasMeditor){
var _med = facade.retrieveMediator(IntroMediator.NAME) as IntroMediator ;
facade.removeMediator(_med);
}
break;
do this:
case ApplicationFacade.REMOVE_INTRO:
if facade.hasMediator(IntroMediator.NAME) {
facade.removeMediator(IntroMediator.NAME);
}
break;
Again, sorry for missing this one.
-=Cliff>