Dout on classes and how to build a

Hi!
I am trying to create a web site with AS3 using only classes. Will I still have to have some MC or any other objects on stage or can I create everything in code?
I so I am planning to put a preloader but since the content of my web site hasnt been created yet how my preloader will work ?

I am sorry for the question but I am really struggling to understand this and I am new to this.

Hello

Yes you can do everything through code and you dont have to put anything on stage.
For the preloader you would have to use events to listen to when your main class that is loading everything else has loaded properly.

There are many ways of implementin the preloader though.