Keyframe animated preloader

Hi,

I want to make a preloader like a signature being written as the loading progresses. I do not want to just make a mask with the signature, but to keyframe animate it to get the flow of a pen.

Basically what I guess I’m asking for is a way to have a preloader that makes a clip with keyframes go to the next frame in relation to bytes loaded.

Any tips??