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
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
= 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
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
4 matches
Mail list logo