setFocus (Selection.setFocus method)
public static setFocus(newFocus:Object) : Boolean
Gives focus to the selectable (editable) text field, button, or movie clip, specified by the newFocus parameter. If null or undefined is passed, the current focus is removed.