puremvc
|
|
« Reply #1 on: June 23, 2008, 06:59:14 » |
|
You're making a method call on the ApplicationMediator. app is probably defined as an implicit getter and therefore would be accessed like a property. Also, you should not retrieve the mediator and set this from a Command it breaks the encapsulation of the mediator. Instead, create the child object and send it as the body of a notification that the ApplicationMediator is interested in and let it call app.addChild.
-=Cliff>
|