MVC based applications often offer some kind of a mediation between the actual Flex view component and the rest of the system.
PureMVC has its Mediator, Cairngorm offer the View Helper (though they not encourage using it). I'll focus on PureMVC.
When the view component is dynamically created, you'll probably want to create it's mediator dynamically as well. This is a very common scenario in large applications.
First thing comes to mind in this scenario is using the view component's CreationComplete or Initialize events for creating its mediator.
It is very tempting doing so, especially when guaranteed that by the time these events occur, the component children are created, and the mediator can access them without getting exceptions.
The problem