Texfield focus

Is there a way to set focus on a textfield in Flash?

Like Javascript’s: [FONT=courier new]document.formname.textfield.focus();[/FONT]

On a frame add these actions…

[AS]Selection.setFocus(textBoxInstanceName);[/AS]

This sets the focus on the textbox instance name you add between the parenthesis in the script.