I have a problem with an input text created dynamicly into a MC that is into a MC that is into a MC (…)
So it’s, let’s say:
_root.myclipA.myclipB.myclipC.myinputtext
now as my input text isn’t on _root, i can’t get focus on it (i can never add any text).
How can i do to be able to input some text in that textfield? It cannot be moved elsewhere because i drag myclipC when i press myclipB…
Yes exactly…
I could read we can set the focus on the textfield using Selection.setFocus(“myTF”)
so i added this to the 1st frame
_parent.onEnterFrame = function() {
Selection.setFocus(“myTF”);
};
i dont know but you could just put the btn in the back ground of the text box to make it easier for the on press… wait i think it would still go though not sure ive done it but i did it the long way make a btn hit test that goes around the input box
as the textfield is into many MCs, the focus isn’t set on the textfield.
Now to make the focus on that TF, i use Selection.setFocus(“myTF”); which seems to set some focus on the inital text of my TF (something like “Type Here”) as it’s selected but i still can’t change or add more text…