Sent: Saturday, April 15, 2006 8:03 PM
Subject: Re: [Flashcoders] Re: Sorting objects within an Array
Glad its working for you, but thats so Flash 6.
On Apr 15, 2006, at 7:33 PM, Stephen Ford wrote:
Thanks all.
I found this functio
Late to the thread. Doesn't Flash 7 have Array.sortOn built in?
- Original Message -
From: "Michael Bedar" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Saturday, April 15, 2006 8:03 PM
Subject: Re: [Flashcoders] Re: Sorting objects within an A
Glad its working for you, but thats so Flash 6.
On Apr 15, 2006, at 7:33 PM, Stephen Ford wrote:
Thanks all.
I found this function online and it works perfectly:
-
Array.prototype.sortOn = function(p){Array.$sortprop = p;
Thanks all.
I found this function online and it works perfectly:
-
Array.prototype.sortOn = function(p){Array.$sortprop = p;var sortfunc =
function (a, b){var p = Array.$sortprop;return b[p] < a[p];
4 matches
Mail list logo