Hi,

I have a class Foo :

class Foo {
   private var __id:Number

   public function set id(_id:Number){
      __id=_id
   }

   public function get id(){
      return __id
   }
}


I create some Foo objects, set the id value, and I push them in Array, but after, I can't sort them by ID

myFooArray.sortOn(["id"],[Array.DESCENDING | Array.NUMERIC])

but I can sort them by __id when __id is public...


   Jeremie.
      sorry for my english...
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to