Sorry I think I express not very clear.
I want to iterate all the properies in a class using for each/in.
How can achieve that ?


At 2011-08-11 17:52:34,"Rishi Tandon" <rishitandon...@yahoo.com> wrote:
 

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 ){
 
}




Reply via email to