now i have a question in programming.
so normally i register a MediatorClass in startCommand like this:
var app:mainApp = notification.getBody() as mainApp ;
but how to register a MediatorClass for a ViewCompontent what added to App stage in runtime?
like this compontent in mxml:
in my application.mxml script...
var myChatPanel:ChatPanel = new ChatPanel();
how can i register MediatorClass for this UIcompontent...
that's all ~~