Over 10 years of community discussion and knowledge are maintained here as a read-only archive.
sendNotification( ApplicationFacade.CREATE_MEDIATOR, [ SomeMediator.NAME, newViewComponent ] );
var args:Array = note.getBody() as Array;switch ( args[0] ){ case SomeMediator.NAME: facade.register( new SomeMediator( args[1] ) ); break; case SomeOtherMediator.NAME: facade.register( new SomeOtherMediator( args[1] ) ); break;}