Text Cursor / Caret into TextField

hi guys i really dont get it … im trying to get the cursor the caret into a textfield on stage enterframe like this: im simply trying to get the cursor inzto the textfield on startup so people can type right away when the swf is loaded. what am i doing wrong?


package
{
    
    import flash.events.*;
    import flash.display.*;
    import flash.text.*;
    import flash.system.*;
    import flash.utils.*;
    import flash.geom.Point;
    import flash.ui.*;
    
    public class Test extends Sprite
    {
        
        public function Test():void
        {
            stage.addEventListener(Event.ENTER_FRAME, this._event)
        }
        
        protected function _event(e):void
        {
            stage.focus = this;
            this._field.tabEnabled = true;
            this._field.tabIndex = 0;
            this._field.text = "test";
            stage.focus = this._field;
            this._field.setSelection(0,this._field.length);
            this._field.text = "";
            stage.removeEventListener(Event.ENTER_FRAME, this._event)
        }
            
    }
    
}

the textField already is on stage in my .fla - is there any workaround. or should i take the textfield component instead of class

thx for help!

set*