Hello there, I am fairly new to Actionscript 3 and am struggling with an issue that seems relatively simple.
I have a main class that calls and removes screens with addChild and removeChild, these screens are movie clips.
My issue lies in these movie clips, each clip is linked to a class - e.g. confidence.as links to my confidence screen.
I am trying to add buttons and pieces of text from this class file onto the confidence screen, so essentially adding more movieclips on top of a movieclip that has already been added. I keep getting this error:
TypeError: Error #2007: Parameter child must be non-null.
I could do with some help figuring out how to add objects to my screens, as I am trying to prevent having everything in one class.
Sorry if this is confusing, help would be appreciated.
Kbowk