Created
November 29, 2011 04:22
-
-
Save nodename/1403398 to your computer and use it in GitHub Desktop.
AS3 setter question: model.selectedMetric = x; where x already is the selectedMetric. The setter is NOT invoked. Why?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private var _selectedMetric:Metric; | |
[Bindable] | |
public function get selectedMetric():Metric | |
{ | |
return _selectedMetric; | |
} | |
public function set selectedMetric(value:Metric):void | |
{ | |
_selectedMetric = value; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment