Ok, I know you can do this with TEXT FIELDS … but could someone tell me how to accomplish this with the component items!?
I’ve got a listener to listen for the reset button, so on the timeline I have this script:
[AS]
clippy2Listener = new Object();
clippy2Listener.click = function (evt){
form.nameC.text = “”;
form.emailC.text = “”;
form.commentsC.text = “”;
form.Selection.setFocus(“nameC”);
}
resetB.addEventListener(“click”, clippy2Listener);
[/AS]
The form does clear, so the code is working, however, the focus isn’t setting.
Any ideas? And also with the tab indexing, can this be done with components.
THANKS TO ANYONE WHO CAN ANSWER!!! :thumb: