I have a chart controlled by a fairly complex set of parameters.
Within the model layer I would like to compose bindable objects, eg

Value1
  value:Number;
  units:String;

Value2
  value:Number;
  units:String;

Parameters
  value1:Value1;
  value2:Value2;

such that view controls can bind to parameters.value1.units, for
example, but an event would also be dispatched indicating that
"value1Changed" or even "parametersChanged".
Is there an approach better than having Parameters add listeners for
PropertyChangeEvents to value1 and value2? Is this a good use for
ChangeWatcher? I've yet to use that class, though I do use the Observe
tag in MXML.
Thanks.

Reply via email to