Is it possible for a view component (movieClip in this case) to instantiate the connection to a mediator? I'm trying to create an environment where I can drag and drop components for rapid deployment and in order to do this, I need to be able to nest my components and still allow them to communicate. In the solutions I am deploying I use an arbitrary portion of my components with every build.
Say I have a view component that contains a button. I would like for this button when pressed to cause another view component to populate it's text box with the text "button pressed" no matter how these movieclips may be nested in other components. I have almost wrapped my head around the concept of commands and proxies, but I don't know if this kind of connection with a mediator is possible. Apologies if my question is flawed or unclear, I'm still trying to orient myself to this architecture.
Any advice, comments?