-
setFocus text
Ok, first let me clarify that I have used the search and I found what I was looking for, but I can't seem to get it to work. I have an input textbox that I want to automatically get the focus. Right now I am using this
Code:
setFocus(input_text);
input_text.text = "";
It clears the textbox, but it won't put the blinking cursor in the textbox. I have to manually click on the box. Is there a way to make it so the blinking cursor goes to the textbox? Thanks
-
i've been using this:
Code:
Selection.setFocus(nameinput);
Selection.setSelection(0, 1);
where nameinput is the name of my Input Text box.
hope it helps...
-
what is Selection? Also it kind of worked, but I can't use backspace.
-
it's a standard flash object:
http://www.adobe.com/support/flash/a...ionary635.html
I don't know why backspace won't work though...