Hey there guys, me again.
I am facing a boring problem… I would like to get in which frame my animation is running, and getting this info I could do some nice stuff.
In reality my code works perfect into HTML5, and it is like this:
this.frameIndex = this.animActions[this.currentState].nextFrame;
But for my happiness it just do NOT work into the JSB, must probably becausenextFrame would be a private (since this things do not exist in HTML5), and it has no permission to get that frame my game do not work.
IMHO it is an error to not have the capacity to get the frame directly, and I found only BAD ways to do it (comparing current frame with all my frame names, and things like that)