What's the actionscript for a loading scene?

I’am still an amateur and I would like to know how you build a loading screen?

I already have an animation, butt witch actionscript do i have to use?

Links to e site witch explains it good?

Thanks a lot

DidiusTheGreat