Flex - custom mutators
One of the coolest things I like about Flex today is the ability to write your own mutators for a variable. Yeah, this may have been something existing in AS in Flash for sometime, but I’m not a Flash guy. Why would you need such a thing? Maybe you have two or more commands that when complete modify the same variable. If this variable is modified in anyway, you need some other task done. In walks in your custom setter. You can write your own setter method for this variable such that anytime it is set, go do a task.
Here is a basic example:
http://cubicleman.com/flexexamples/mutatorexample/mutatorexample.html
DK
