How to make a preloader based on Frame animation

im just wondering on how can i create a preloader based on a certain keyframe animation. Thanks guys:D