for each works for collection. If you have an instance of the collections consist of your class object then u can retrieve each item as class object using for each iterator.
Sent from my iPhone On Aug 11, 2011, at 2:25 PM, j2me_soul <j2me_s...@163.com> wrote: > How to custom a class can by iterate all children by for each > > for each( var item:* in myCustomeClass ){ > > } > > >