Animation problem - Key was not present

Sep 19, 2007 at 12:32 PM
Hi all,
I have a problem with animation because the animation key was reputedly not present.
I dot`n understandt where ist the problem. I have animated model "something.x" , XML file with the animations frame with name somethinganimation.xml.
My XML file look like this:

<animation>
<name>AnimationSet0</name>
<tickspersecond>15.0</tickspersecond>
<animationsubset>
<name>walk</name>
<startframe>1</startframe>
<endframe>13</endframe>
</animationsubset>
</animation>

and if I writte this line:

walk = new AnimationController(this, SomethingAnimator.Animations"walk");

then i have this error:

The given key was not present in the dictionary.

can you tell me where I make a bug?

thx