I am trying to build an application in flash using the pureMVC, the question is:
I want to load an external swf ( incorporating a view components on its stage ) in my application and i would like this new view components to be able to send notification to the facade.... I cannot register a mediator for that view components in the ViewPrepCommand cause at the initialization of the application that view components is not loaded yet and will only be loaded when a user click on the button that loads that swf.
Basically i am wondering what's the steps to follow to use a new view components at runtime ?
Should the registration Mediator code:
facade.registerMediator(new MyViewMediator(myViewCompMC))
of the new view components be on the external swf ?
I hope all this is making sense, any feedback will be appreciated,
Thanks !