How to show a ccmenusprite by .plist sprite.

Hi,
I want to show a ccmenusprite with some different-2 menus background image by .plist file.

CCSpriteFrameCache cacheCommon = CCSpriteFrameCache::sharedSpriteFrameCache;
cacheCommon->addSpriteFramesWithFile; //its a common plist file for all menus background.
CCSprite
frame = CCSprite::spriteWithSpriteFrame(cacheCommon->spriteFrameByName(“sound_down.png”)); //this is a sound menu bg image of setting.plist file.
CCMenuItemSprite *soundON = CCMenuItemSprite::itemFromNormalSprite(frame, frame);

but the app is crashed bcoz initWithSprite have assert(pSpriteFrame != NULL);
any one can help me. thanks in advance.

Please check why cacheCommon->spriteFrameByName(“sound_down.png”) get a NULL pointer. You can trace into this function to look for more details.