A very handy parameter is the rest one. Imagine you want a function that will calculate the sum of any number of parameters of type number. One way to do it is to send an array to the function. But one better way is to use the “rest” parameter.
Here is the function:
public function MakeSum(a:int, … [...]
These days I started to study about MVC (Model-View-Controller) implementation for Flex. Although I used a lot MVC and MVC Frameworks in other language (PHP 4 & 5) the Cairngorm MVC Framework is a bit more complex.
For a better understanding I found the following interactive diagram where you can view which part of the code [...]