You don't say what kind of game you are making, so I don't know if this will help, but here is a simple example I made to change the animations of butterfly sprite that has an 8-direction behavior.
When the butterfly sprite isn't moving its animation is set to an animation called idle. When the sprite is moving the animation played depends on how fast the butterfly is moving. If moving relatively slow the animation played is one called fly. If going relatively fast the animation played is one called flyfast.
You can do something similar with platform behaviors, too. You can change the animation when the player jumps, is falling, is going left or right, etc. Examine the events for a behavior to see the places where it may be appropriate to change the animation. Of course you can always change an animation based on your own custom criteria.
ButterflyFly.capx