TypeError: Error #1009: Cannot access a property or method of a null object reference.
Debug session terminated.
I am making a game in Flash using Action Script 3.0. The above error has one I have not found a solution for. Basically, in the game, you visit areas and try to scan animals and collect their dna. This all takes place in menus.
gameinterface.net/thebinarylife/ is where it can be found.
Basically, once i choose Scan and then an area, Rest, and then return to Scan, while in Flash Pro, the debug hard crashes with that error. When running the swf by itself, it causes one sub menu button to disappear on the Scan page and another to be frozen in its active or hover state.
I have tried adding the buttons via addChild and got the error there first. I tried dragging and dropping the buttons on to the stage and still get the error.
In addition, when ever i post the results of the scan (on the screen using dynamic text), it keeps losing the first letter of the first word of the dynamic text (You becomes ou) and any variables used in the dynamic text don't want to appear properly in text.
Let me know what code or functions are needed posted to better help me out. Thanks.