[flexcoders] Sort - findItem - compareFunction prob

2008-04-16 Thread ibo
Hi I'm having problem with sorting, the compiler says : error: [mxmlc] C:\stephen\Main.mxml(51): Error: Implicit coercion of a value of type Boolean to an unrelated type String. [mxmlc] insertionIndex = sort.findItem(forAddition[i], Sort. LAST_INDEX_MODE, true, compareTi

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

RE: [flexcoders] Sort - findItem - compareFunction prob

2008-04-16 Thread ibo
Sent: Wednesday, April 16, 2008 2:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sort - findItem - compareFunction prob Hi I'm having problem with sorting, the compiler says : error: [mxmlc] C:\stephen\Main.mxml(51): Error: Implicit coercion of a value of t

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