Some problems about CCSprite::createWithSpriteFrameName

I use CCSprite::createWithSpriteFrameName to init a CCSprite.

And set the AnchorPoint to (0,0)

But the sprite is displayed like the AnchorPoint is 0.5 0.5,what can i do? thanks

code as follows:

CCSprite* mainBgSprite = CCSprite::createWithSpriteFrameName(IMAGE_TABLE_PLAYER_BG_PATH);

CC_BREAK_IF(! mainBgSprite);

mainBgSprite~~>setPosition;
mainBgSprite~~>setAnchorPoint(CCPointZero);
this->addChild(mainBgSprite, –1, 0);

Can someone help me?

No one reply?