I am having a problem with the TextField.setFocus property. I made a simple test movie with a text field called “txt”. I used the following code in frame 1 of the layer:
txt.onSetFocus = function() {
trace("set")
}
txt.onKillFocus = function() {
trace("lost")
}
This works fine. However, for some reason, when i drag any built-in component like the ComboBox, or MenuBar, there is a problem. Whenever, i click away from the text field, the focus immediately returns to it and i can never remove the focus from the text field. Is there something wrong with the components?
Posted about 1 month ago











