controll animation

Hi Every One
Can Anybody tell me how can i make an order for animation for the upper body no all of the character and how can i make anther one in its middle or last frame

You will want to be using the addMixingTransform command. Here is a good answer to a similar question.

P.S. Always try to use the search function before you make a question, and when you do make a question, give enough sample code so that people can help you.