Custom preloader

Hi everybody,

Can anyone suggest a tutorial of how to create a custom preloader, not the usual one of the loading bar. I am thinking of a preloader where 10 elements appear, according to the percent loaded. Example: first element at 10%, second element at 20%, etc

Thanks a lot for your help.