MediaPlayer AVI Problem

I cannot properly display an avi file frame by frame (like a slide show) in
Delphi v1.02 without setting the key frame value inside the AVI file to
something like five and then in my program keep jumping back the the key
frame and then to the current.  Has anyone got any tips on how to play an
AVI like this or any other related tips?