http://www.cocos2d-iphone.org/forum/topic/18234
I read this thread in order to understand how to determine the current frame of the animation being played
However , in my case the following seems to return the same number(Checked in an update loop)
CCSpriteFrame *currentFrame = [sprite displayFrame];
[[currentFrame texture] name]
(The animation frames have been added through a spritesheet )
In my case i have 31 frames that go from dolphin-1 to dolphin-31 and the above piece of code always returns "5" as output.
any ideas?