I want to make a nice transition between stand and walk animation. Here is my code:

Code:
function player_animations(){
	my.animation %= 100;
	if (my.animation < 0) { my.animation += 100; }
	
	if (my.state_player == stand) {
		my.animation += 2 * time_step;
		ent_animate (my, "stand", my.animation, ANM_CYCLE);
	} 
	if (my.state_player == run) {
		my.animation += 8.4 * time_step;
		ent_animate (my, "walk", my.animation, ANM_CYCLE); 
	}
}



What should I do? I know I need to use ent_blend but I do not know how to implement this in my code. Some help please