Animation doesn't start if I set Transition Duration to 0

Hey,

I have a problem with animations. I have one animator controller and 4 animations.
I want to change animation randomly after I click mouse button.
I have one Integer parameter ‘whichFly’ and made condition in every transition.

When user click a mouse button I randomly choose in script which animation plays:

myAnimator.SetInteger ("whichFly", 11); // and so on

Animation changes good, but it stays in one single graphic frame.

This is my game object

Every animation plays fine only when I change Transition Duration to value greater than 0. But i want to change my animation immediately after user clicks a mouse.
Do you know what is my problem?

Thanks.

I’m not sure what your problem is. Are you complaining about the delay in transition when mouse click occurs? Can you show where did you put the mouse click code?