In pause interface,how to make an animation


I put a pause layer on top,then call the CCDirector::sharedDirector()->pause(),

I want to make the pause interface button runAction,but it’s not work.

Could anyone help me? thanks for any suggestion.(my version is cocos2d-1.0.1-x-0.9.1)


Sorry, I didn’t catch your meaning. What do you mean by “make the pause interface button runAction”?
CCDirector::pause is to pause the whole cocos2d engine, drop the framerate to 1/4, but not to pause your game logic.