I’m not even sure I am saying this correctly. Here goes: I have 2 classes that I created. I make a new class of the one and add it to the stage. After that is done, I want to add the 2nd class inside the first one. Basically the first class represents an container with graphics, the 2nd one over lays the first one and is the interactivity of the graphics.
Here is my code:
// this is where I add the first one to the display list.
home = new Home();
contentContainer.addChild(home);
after that is done I try to do this:
homeBtns = new HomeButtons(sectionXml);
contentContainer.home.menuContent.addChild(homeBtns);
But that doesn’t work, and I’m not sure why.
I know that contentContainer.home.menuContent exist because I can trace out there x and y postions.
Any help or a point in the right direction would be very greatful
Thanks