Código :
var _rect:rectangle1 = new rectangle1();
_stageRef.addChild(_rect);
_stageRef.getChildAt(4).x=220;
_stageRef.getChildByName("_rect").y=440;Se crea al objeto, se coloca en el stage, se mueve a la posicion 'x', y por ultimo tira un error
Código :
TypeError: Error #1009: Cannot access a property or method of a null object reference.
Es decir, no esta reconociendo la ultima linea. Cuango hago un
Código :
trace(_stageRef.getChildByName("_rect")); me da "null" y no al objeto 'rectangle1'Y estoy en blanco, alguna idea? agradecere cualquier respuesta.
