I have 2 input text boxes. On entering the data in 1st input text and pressing “ENTER” key, the focus should move to the 2nd input text box.
I tried this by method Selection.sefocus(<variable>), but the focus does not move to the 2nd input text. This in flash5. It’s urgent.Please hlep.
make a new button, and put some circle or whatever in it and make it invisible (alpha). place it anywhere in your movieclip (but try not to put it over an animation, would be very processor-intensive)
give it the action:
on (keyPress “<Enter>”) {
selection.setFocus(“instancenameof2ndtextbox”);
}