Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought

Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

| * |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / Getting Started / Mediators adding their own View Components on: August 31, 2011, 06:22:40

Now I know this can be done and is not bad practice, but I can't work out how to do it.

Obviously a Mediator can be registered without a viewComponent. But then say I want the mediator to respond to a Notification and add it's own viewComponent, how would it do this?

It won't have any reference to a DisplayObject to add the viewComponent to.

I hope this makes sense. I have searched the forum and can't find a simple answer to this.

Thanks in advance
Pages: [1]