Skip to main content
October 13, 2008
Question

Cann't see cursor blinking

  • October 13, 2008
  • 2 replies
  • 292 views
function run (event:Event) {
my_txt.stage.focus=my_txt;
}



my_txt.addEventListener(Event.ENTER_FRAME,run)

Cann't see cursor blinking
This topic has been closed for replies.

2 replies

Inspiring
October 14, 2008
Really the problem is as I described it.

You might also have a problem because you are trying to set the focus at the frame rate. There is no reason that this code needs to be inside of an enter frame event handler.

Please stop posting the same question again and again and cross posting in different forums.
Inspiring
October 13, 2008
I've found in the past that if the swf doesn't already have focus, i.e. some click inside the swf for whatever reason, that the textbox won't get the blinking cursor. It will have focus and if you type it will go there.

So the trick is to be sure your swf has focus.
October 13, 2008
Nope.......this also create problem that if you press ctrl+enter & typing only few chacters are displayed while others are not but if you cliked on textfield all are get typed