Skip to main content
Inspiring
April 18, 2008
Question

TextField focus with blinking cursor

  • April 18, 2008
  • 5 replies
  • 1910 views
How do I make the cursor blink on the TextField that is in focus. I've looked for a solution online, haven't found anything... Thanks.
This topic has been closed for replies.

5 replies

Inspiring
May 2, 2008
I'm pretty sure I solved the problem with stage.focus = textField;

Found the solution here: http://www.actionscript.org/forums/showthread.php3?t=114805

hope this is helpful.
Inspiring
May 2, 2008
the text color is not the same as the background. here is a link to the fla. it includes the context that the textfield is within. i just want the top textfield to have a blinking cursor. get the fla here: kurtcom.com/test_text.fla

thanks.
kglad
Community Expert
Community Expert
April 19, 2008
if you click somewhere else, the textfield doesn't have focus.

does your textfield have a background color different from its text color? if so, drag your textfield to a new fla and retest there. if you still can't see your cursor, post link the the fla that only contains your input textfield.
Inspiring
April 19, 2008
To answer your question, it would be to click somewhere else. Problem is, it's not blinking in the first place. However, the textfield clearly has focus, since I can type into it.

Just to be sure I understand correctly... In my situation I have set the focus to a TextField, and the cursor is not present, yet when I type into the textfield, the text comes up. Should this be happening? Thanks.
kglad
Community Expert
Community Expert
April 19, 2008
it blinks by default. how do you stop it from blinking in the textfield that has focus?