While I don't have an example handy I can hopefully put you on the path.

First thing, it doesn't matter what controls you are using to set the filter: 
the filter will function in the exact same way.  For CheckBox and ComboBox you 
pretty much just listen for the "change" event and filter when the event fires.

Another thing to note is that ArrayCollection is basically just a wrapper for 
Array.  So you can easily convert your ArrayCollection to an Array by calling 
the toArray method and then take advantage of Array's filter method 
(http://livedocs.adobe.com/flex/3/langref/Array.html#filter%28%29).  When 
you're done just convert your Array back to an ArrayCollection with a statement 
like "new ArrayCollection(myFilteredArray)".

--- In flexcoders@yahoogroups.com, "stinasius" <stinas...@...> wrote:
>
> hi guys, this is the biggest obstacle i have face ever since i started coding 
> in flex. i kindly ask for an example of filtering an array collection using 
> two checkboxes and a combobox. thanks
>


Reply via email to