- Home
- Articles
- Best Practices
- Flex and MVC - Part I
Flex and MVC - Part I

Creating the Controller
package classes.MVCPart1
{
public class Controller
{
public function showName(name:String):void
{
var model:Model = Model.getInstance();
model.result += name;
}
}
}
Note, that we are using the Model as a singleton class and then updating the values in the "result"
