How do I (in actionscript) query to see if a textinput has focus at that time?
Is there something like "if (textInput.IsSelected == true)"... or something similar? Please let me know.
You may be able to use the focusManager property of the container with the getFocus method of the FocusManager and see if that component is the TextInput you are interested in.
If this post answers your question or helps, please mark it as such.
Your answer is 95% of the way there. I did something like:
if (TextInput.focusManger.getFocus() == TextInput)
'Then do something
so the code is only executed if TextInput is currently focused.