I have a custom MXML component that has a setter function, dataInput, that
takes an arraycollection and essentially performs a similar function as a
dataProvider.
The problem is that I can't get my setter to fire when the dataInput is bound
to an external arraycollection. So, if I have
<xx:mycomp dataInput="{mydata}" />
and I have a button that simply does an mydata.addItem(), my setter function
dataInput will not fire. It does appear to detect ANY change to mydata.
However, if I create a datagrid, and do the same binding to the dataProvider:
<mx:DataGrid dataProvider="{mydata}" .../>
then the datagrid DOES update.
Why is my setter function not firing? Is there something else I need to do in
my component?