# Structure Structure Structure!

**URL:** <https://forum.kirupa.com/t/structure-structure-structure/235284>\
**Category:** flash\
**Created:** [August 9, 2007, 11:58pm UTC](https://forum.kirupa.com/t/structure-structure-structure/235284 "2007-08-09T23:58:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel619](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@daniel619](https://forum.kirupa.com/u/daniel619)\
**Post date:** [August 9, 2007, 11:58pm UTC](https://forum.kirupa.com/t/structure-structure-structure/235284/1 "2007-08-09T23:58:43Z")

</div>

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…
