I have some clarifications on Mediator and view component coupling. Lets say i want to display some text on certain events. The text is basically a clip which is available in the library but not added on stage. In mediator constructor i am getting the stage reference as a view component and i am instantiating the clip in a particular notification say CONSTRUCT_LAYOUT. i am adding that particular clip at on the corresponding event to the stage using getter of that viewcomponent and by passing the clip reference as an argument to addchild. The issue is the clip component needs to be imported in mediator class. It works fine. But the problem is ,if i needed to have a different clip that needs to use the same functionality of the mediator, but having different characteristics in their visual of the component?
Is that i need to pass the clip reference as an argument to view component instead of the stage reference.?
I am confused!! Any help will be much appreciated on the problem
Thanks