title: Cocos2D Sprite Animation Batch Node Troubles
body: <p>I get the following error: <code>'CCSprite is not using the same texture id'</code></p>
  
  <p>This is what I'm doing:</p>
  
  <pre><code>.h file
  
  @interface GameplayLayer : CCLayer &lt;GameplayLayerDelegate&gt; { 
      CCSpriteBatchNode* pointbb;
  }
  
  
  
  .m file
  
  pointbb = [CCSpriteBatchNode batchNodeWithFile:@"pointsbb.png"];
  
  [self addChild:pointbb];
  
  [[CCSpriteFrameCache sharedSpriteFrameCache] addSpriteFramesWithFile:@"pointsbb.plist"];
  
  CCSprite* spa = [CCSprite spriteWithSpriteFrameName:@"poi2500001.png"];
  
  [pointbb addChild:spa];
  </code></pre>
  
  <p>The exact syntax worked for other animations but this one. What should be my correct course of action?</p>