CCTMXTiledMap flickering?

Hi,

I’ve started to use CCTMXTiledMap in cocos2dx on an iPhone 4. I have a small TMX, and I’m attempting to move it around. There’s black lines that are flickering when I try moving in the X direction but not for the Y. Here’s the code I’m using:

CCFiniteTimeAction sequence = CCSequence::create), CCMoveTo::create), NULL);
CCRepeatForever
theAction = CCRepeatForever::create((CCSequence *)sequence);
tileMap->runAction(theAction);

I feel like it is probably a problem with CCTMXTiledMap. HELP ME!

May be you can enable CC_FIX_ARTIFACTS_BY_STRECHING_TEXEL(in ccConfig.h) to have a try.

That did it! Thanks so much!