Hi,

I'm confused on how to best create a loop to do the following:
discover if each element's "selected" property is set to false.
Basically, I just want to detect when all elements of my array have a
"selected" property set to false. 

Here's my code:
var numThings:int = things.length;

for (var i:int=0;i<numThings;i++){
if(!numThings[i].selected){ // 
} 
}

I know I'm not using the correct loop, I just can't figure out how to
better approach this problem. Any tips are very much appreciated.
Thank you. 

Fumeng. 

Reply via email to