I have a checkbox that is bound to a property:
<mx:CheckBox label="Show All" selected="{showAll}"/>
I want to trigger an event when the checkbox is toggled that will read the value of showAll
after a change:
<mx:CheckBox label="Show All" selected="{showAll}" click="_list.refresh()" />
Where, in this case, _list
is an ArrayCollection object whose filter function depends on the showAll
field to choose values.
It turns out that this doesn't work, or at least gives a strong appearance of not working (what with the values in the list not changing and all). Is there a documented order of events for this, so that I can discover which events are dispatched in which order, and whether the binding value change will have fired the time the click event is dispatched? Alternately, can someone recommend a better way of doing this?