all groups > flash actionscript > december 2005 >
You're in the

flash actionscript

group:

How do I write this in actionscript


Re: How do I write this in actionscript ssfanetti
12/16/2005 2:09:56 PM
flash actionscript: if your text field has an instance name of "name_txt" you would use the
selection object (Built in Object) to set focus to that instance name. If the
script is in the same timeline as name_txt, the syntax would be:

Selection.setFocus("name_txt");


How do I write this in actionscript doug777
12/16/2005 6:03:45 PM
In javascript I would write:

document.formName.inputName.focus();
document.formName.inputName.select();

How do I write that in actionscript. The input I want to give focus to
and highlight is in a tabnavigator form.

Re: How do I write this in actionscript doug777
12/17/2005 3:51:39 PM
Many thanks for your help.

Doug

[quoted text, click to view]
AddThis Social Bookmark Button