I have Command classes for that in combination with a ServiceLocator (Singleton) that 
holds all the "services".
Commands are instantiated (only when needed) and executed by the Controller.
Commands, when executed, fetch the required service (RemoteService/WebService/HTTPService) from the ServiceLocater, listens for events on the service and executes it.
When data returns it is stored in the Model, which then dispatches a change 
event.

regards,
Peter

----- Original Message ----- From: "Creighton, Gerry" <gcreigh...@discmakers.com>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Monday, March 26, 2012 7:07 PM
Subject: Re: [Flashcoders] MVC - ScreenManager


If I'm loading XML would that be done in the model or the controller?



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to