Mega Code Archive
Retrieve last child index in a Tile, child indices are zero-based
private function moveToTheBeginning( ):void
{
var lastChildIndex:int = tileOfLabels.numChildren;
var child:DisplayObject = tileOfLabels.getChildAt(lastChildIndex);
tileOfLabels.setChildIndex(child,0);
}