Change animation on sprite with code

hey there.
really cool product.
So, I made a packed sprite with four elements ( animations ) in the texture animations.

i am using javascript and am a novice programmer.
Can anyone tell me how to switch between the animations with code? ( i am using a button )

thanks!
Chris

How are you animating the textures? Could you post the code you are using?

It sounds like he might be using SpriteManager2, in which case posting the code would be a bad idea :wink: