Keyframe Animation - No Interpolation

Hi,
This is not a bone based animation.
I have two needs :

1 - I would like to know if it is possible to play an animation based on keyframe not on time. I mean without any position interpolation.
2 - Is it possible to control the animation[ ].time to fit to the keyframe ? I tried with this but this shows the interpolation.

mObject.animation["a"].time = mAnimPercent * mObject.animation["a"].length;

or

mObject.animation["a"].normalizedTime = mAnimPercent;

I ask this, because I have an animation that makes an object disappeared (goes out of the camera view) but I see the interpolation between the two positions. Is it possible to disable this behaviour ?

Thanks a lot !

I’d say jump to the key positions by setting values instead of running a timer.

I didn’t find any way to control animation by changing keys.