here : http://www.yopsolo.fr/wp/2012/07/09/chicken-io/
I am using stuff like this
- Code: Select all
Private function countPlayers():void
{
var nb:int = 1;
for each( var c:Arrow in cursors)
{
if(c.stage){
nb++;
}
}
count_txt.text = nb.toString();
}
but i am sure there is a better way to do it, no ?