CCLog("Lein will hide account!CS_FAST_REGISTER_REQ"); <p> CCNode* child1 = (CCNode*)(m_pLayer->getChildByTag(1));</p><p> CCArray *pChildren = child1->getChildren();</p> //CCArray *pChildren = m_pLayer->getChildren(); if(pChildren && pChildren->count() > 0) { int i=0; CCObject* child; CCARRAY_FOREACH(pChildren, child) { if(i<2){ i++; continue; } CCNode* pChildNode = (CCNode*) child; pChildNode->setVisible(false); CCLog("%d hidden, tag %d Lein, id = %d ", i, pChildNode->getTag(), i); break; } }