Código:
La cosa es que yo he utilizado stage.focus en otras clases y va bien, no se si será por utilizarlo dentro del constructor ¿alguien sabe que le pasa a esto? Muchas gracias public function ventana_login(){
this.addEventListener(KeyboardEvent.KEY_UP, onKeyUp);
this.boton_aceptar.addEventListener(MouseEvent.CLICK, pulsado_aceptar);
this.boton_arrastrar.addEventListener(MouseEvent.MOUSE_DOWN, mouse_down);
this.boton_arrastrar.addEventListener(MouseEvent.MOUSE_UP, mouse_up);
this.timer.addEventListener(TimerEvent.TIMER, detectCaps);
this.timer.start();
stage.focus = this.usuario.text;
}

