On 5/6/07, arieljake <[EMAIL PROTECTED]> wrote:

[snip]
> It seems that setting the filterFunction is affecting the
> allAvailableCategories variable when I trace the length of the
> allAvailableCategories variable after the listData is refreshed.
>
> Why?
>
> here is the code:
>
> <model:CategoryData id="categoryData" />
> <mx:ArrayCollection id="listData" />
> <mx:Binding source="{categoryData.allAvailableCategories}"
> destination="listData" />
> <mx:List id="categoryList" dataProvider="{listData}" />

I think you want to do this instead:

  <ArrayCollection id="listData"
source="{categoryData.allAvailableCategories}" />

i.e. remove the binding and use the source property of the collection.

Reply via email to