I just want to display the x,y,z of a cube and get this error.
The text does display and so does the cube but I cant get the text to
update ?


private function gameLoop(e:Event):void {


                        myText.text=" x=" + cube.x.toString(); //Cannot access 
a property
or method of a null object reference

//also tried myText.text=" x=" + cube.x;

Reply via email to