RE: [flexcoders] Re: Need help seaching and comparing in an ArrayCollection

2007-02-28 Thread Brian Holmes
11:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Need help seaching and comparing in an ArrayCollection That is exactly what you need to do. Create a for loop and get a handle on each object in the loop. Then, set up a method that returns a Boolean if it needs to be flagged

[flexcoders] Re: Need help seaching and comparing in an ArrayCollection

2007-02-27 Thread e_baggg
That is exactly what you need to do. Create a for loop and get a handle on each object in the loop. Then, set up a method that returns a Boolean if it needs to be flagged. This method will check the dates. if true, then inside your For loop, flag the data object. Note: You can do the

[flexcoders] Re: Need help seaching and comparing in an ArrayCollection

2007-02-27 Thread bobignacio
flex 2 provides a more efficient way of manipulating an ArrayCollection using a filterFunction from the IViewCollection Interface. This also provides the use of a cursor which you can use to manipulate the collection as well. Sorting is first required if you want to use a cursor. Filtering can be