Simple preloader

Basically what i want to happen on my website is for the site to preload, then the animation to automatically play once it has loaded.

ive created a movieclip to loop when the site is loading, now i need to know what actionscript should I put in the first frame of the movie so it will preload…

Thanks in advance.