frustrating animpos glitch... =(

there is a frustrating glitch with GE to where right after you change the animation you cannot set the animation position with the animpos varaible. 
here is the code I am using,
and yes, I am making a Helicopter Game.

here is the code I am using,
- Code: Select all
anim = animpos;
if(key[KEY_LEFT] == 1)
{
ChangeAnimation("Event Actor", "Heli_02Rotate3", FORWARD);
animpos = anim;
ChangeAnimationDirection("Event Actor", FORWARD);
}
if(key[KEY_RIGHT] == 1)
{
ChangeAnimation("Event Actor", "Heli_01Rotate3", FORWARD);
animpos = anim;
ChangeAnimationDirection("Event Actor", BACKWARD);
}
and yes, I am making a Helicopter Game.
