Hi all, I'm quite new to the MVC design-pattern, and I'm translating all of my old code.
I want to move to this pattern because I can change my views according to my needs, but I'm finding difficult to do it at runtime.
I found an excellent example of MVC, and all that I do is the following:
<mx:ViewStack xmlns:mx="http://www.adobe.com/2006/mxml" resizeToContent="true" xmlns:views="MVC.views.*">
<views:HomeView id="Home"/>
<views:SecondPage id="SecondPage "/>
</mx:ViewStack>
what if I wanted to change (whenever the Controller says so) one of the views, for example the SecondPage view?
(Hope I made my point clear)