I know that this is such a n00b question but believe me, i've been all day searching for an answer.
My problem is: i add a sprite to my ParallaxNode, then i want to move this sprite (using CCMoveTo) over the ParallaxNode, when i scroll the ParallaxNode the sprites does a horrible flickering, just to be sure that i wasn't messing up with parameters i tried with the "ParallaxTest" and got the same sprite flickering when scrolling.
To reproduce:
-Go to the "ParallaxTest"
-Go to the implementation named "Parallax2"
-Just right after the line: [self addChild:voidNode z:0 tag:kTagNode];
Add the code to generate the sprite and the action to move it:
CCSprite *sprite = [CCSprite spriteWithFile:@"Icon.png"];
[voidNode addChild:sprite z:1 parallaxRatio:ccp(0,0) positionOffset:ccp(50,50)];
id actionMove = [CCMoveBy actionWithDuration:10.0f position:ccp(50,1000)];
[sprite runAction:[CCSequence actions:actionMove, nil]];
Start the test, press right or left arrow to go to "Parallax2" and then you will see the sprite animating and when you touch & drag the screen you scroll the ParallaxNode and the sprite starts flickering.
What am i doing wrong?