从cocostudio做的场景里面调用按钮出线问题

我用cocostudio做了一个场景,里面有2个按钮,我想调用其中一个,但是调用的时候报错,内容是发生访问冲突。

CCNode *pNode = SceneReader::sharedSceneReader()->createNodeWithSceneFile("publish/MenuScene.json");

this->addChild(pNode);

CCComRender *pRender = static_cast(pNode->getChildByTag(10007)->getComponent("GUIComponent"));

TouchGroup *close = static_cast(pRender->getNode());

UIWidget *widget = static_cast(close->getWidgetByName("p_1"));

UIButton *closeButton = static_cast(widget->getChildByName("p_1_b_1"));

closeButton->setTouchEnabled(true);

closeButton->addTouchEventListener(this, toucheventselector(HelloWorld::menuCloseCallback));

问题好像是在UIWidget那里。还有,哪位大神能告诉我getWidgetByName 的参数是什么么,还有CCComRender里那个getChildBtTag的tag是哪个东西的tag。