RE: [flexcoders] Sort - findItem - compareFunction prob

2008-04-16 Thread Alex Harui
You're missing the second argument to findItem. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ibo Sent: Wednesday, April 16, 2008 2:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sort - findItem - compareFunction prob H

RE: [flexcoders] Sort - findItem - compareFunction prob

2008-04-16 Thread ibo
second arg? sort.findItem(forAddition[i], Sort.LAST_INDEX_MODE, true, compareTitles); The 2nd argument is a constant provided in Sort class. I used whats available. The other 2 options are : Sort.LAST_INDEX_MODE Sort.ANY_INDEX_MODE Care to give a correct sample usage of Sort.findItem()? I can

RE: [flexcoders] Sort - findItem - compareFunction prob

2008-04-16 Thread Alex Harui
= false, compareFunction:Function = null):int { From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ibo Sent: Wednesday, April 16, 2008 8:13 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Sort - findItem - compareFunct

RE: [flexcoders] Sort - findItem - compareFunction prob

2008-04-16 Thread ibo
ean = false, compareFunction:Function = null):int { - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ibo Sent: Wednesday, April 16, 2008 8:13 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Sort - findItem - compareFu