cocos2d-x CCScrollView 缩放有问题

想使用它的缩放setZoomScale(m_fMaxScale,true);
但是一直提示有问题,谁知道什么情况??
error::::Assertion failed: (dynamic_cast<CCActionTweenDelegate*>(pTarget)), function startWithTarget, file /Volumes/Code/libs/cocos2dx/actions/CCActionTween.cpp, line 64.

void THWScrollView::setZoomScaleInDuration(float s, float dt)
{
if (dt > 0)
{
if (m_pContainer->getScale() != s)
{
CCActionTween *scaleAction;
scaleAction = CCActionTween::create(dt, “zoomScale”, m_pContainer->getScale(), s);
this->runAction(scaleAction);//这里出错
}
}
else
{
this->setZoomScale(s);
}
}

确实有问题,可以参考:http://www.firedragonpzy.com.cn/index.php/archives/3111 这个所有的ccscrollview问题应该解决的比较全了

确实有问题,可以参考:http://www.firedragonpzy.com.cn/index.php/archives/3111 这个所有的ccscrollview问题应该解决的比较全了