I'm a bit confused... if I do:
AtlasSprite * sprite = [AtlasSprite spriteWithRect:allFrames[index].rect spriteManager:ccAtlasSpriteManager];
[ccAtlasSpriteManager addChild:sprite];
I then think the sprite should be dealloc'd after this:
[sprite.parent removeChild:e.sprite cleanup:YES];
My thinking for that is because addChild retains the obj so shouldn't removeChild release? Now, the removeChild does remove it from being drawn but I have to do a [sprite release] to actually get it to dealloc. If I only do that and not the release then the object continues to be displayed.
I expect to not have to release since I'm using an AtlasSprite convenience constructor. what am I doing wrong here?