Display preloader for main

I have just started to work in AS3 and stuck in a problem.

I have created a fla document named main.fla
I have defined the document class as Main which is attached.

The problem is preloader shows only when the file is completely loaded. How can I appear the progress preloader for the main file.

Thanks afor any help