Structure Structure Structure!

Hey there everyone,

I’m having trouble creating a good structure on my website. Currently I have it so I have the document class called Main.as. That loads all the preliminary stuff. I have a Homepage.as Class which has two addChild methods on the constructor. I make an instance of homepage on Main.as but it won’t load the images! Why!?

On Main.as:

homePage = new HomePage();

On HomePage.as(constructor):

addChild(introText);
addChild(mainTent);

I’m I structuring this wrong. Should I have have a Homepage.as and a Contact.as, etc…