Re: [Flashcoders] Data merging problem

2008-05-15 Thread EECOLOR
I am not sure why you have duplicate items. I am assuming these items come from a database, you can use the query to leave out double records. In most other cases, the double is in there for a reason, which means you do not want to delete them. In that case you would like the .filterFunction

[Flashcoders] Data merging problem

2008-05-09 Thread Anthony Cintron
Hi All, I am dealing with a puzzle here, and I can't figure out the best way to approach this. I come to you all to see what your thoughts are. I will try my best to explain this, because I am confused, I can't guarantee it will at all make sense. I have an ArrayCollection, workData that has a

Re: [Flashcoders] Data merging problem

2008-05-09 Thread Eduardo Omine
Remove the entry from the array? workData.splice(1, 1); -- Eduardo Omine http://blog.omine.net/ http://www.omine.net/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Data merging problem

2008-05-09 Thread Jason Van Pelt
This is untested so it may need a bit of tweaking, but you could do something like this: // for each item in the array for(var i = 0; i workData.length; i++){ // compare to all other array elements for(var j = 0; j workData.length; j++){ // do your comparison(s),