I have been thinking about this a bit over the last couple of days. I think it could be implemented as a Bead like this:
Define a new bead, say FilterDataProvider, with a "filter" field. This would implement ICollection or IArrayList so that the methods return the filtered data instead of the actual data. When this bead is added to a container, it would use the current dataProvider as the raw data, and replace the current dataProvider with itself. When the filter field is updated, the bead would need to trigger events to cause the strand display to refresh appropriately. Does this sound like a good approach? Joel Anderson My Apache Flex community contribution is working on the open source Moonshine-IDE.com for FlexJS. -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Filter-function-to-ArrayList-tp57239p57522.html Sent from the Apache Flex Development mailing list archive at Nabble.com.