It depends which type of framework you're talking about, because in PureMVC the controller is the commands. The commands only exist temporarliy, and so you can't 'listen to events from the controller', if that makes sense. So in PureMVC you have the commands directly call public methods in the view classes (or I do anyway!).

Piers


On 4 Aug 2009, at 16:36, Merrill, Jason wrote:

So, if you want the Controller to alter the View (say, tell it to
animate), you don't have the controller call a public method of the view - you have the controller dispatch an event and some other class (say, a
command class) tells the view to animate?  Or do you have the view
listen to the controller for the event directly and then react?


Jason Merrill

Bank of  America   Global Learning
Shared Services Solutions Development

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to