A common cause of a null focusmanager is the UIComponent you are using to get the focusmanager is not on the display list.
myTextInputField.focusManager; // focusManager is null if myTextInputField is not on the displaylist
thanks for the reply!
You are right the focusmanager from the textfield is null.
hmmm I add the titlewindow component by using addElement (the compiler told me to use addElement).
Is there a difference between addChild and addElement?
I don't understand why I can see the components on stage, but they are'nt in the dislaylist????
Just for understanding...can you explain it shortly, please.
And by the way the advice to handle that problem...
I suspect the problem is you are keeping a reference to the old text input field that was destroyed with the old titlewindow. Make sure you are using the new text input field.