status_txt.htmlText = "<b>setFocus triggered</b>";
status_txt.htmlText += "<textformat tabStops='[20,80]'>";
status_txt.htmlText += " \toldFocus:\t"+oldFocus;
status_txt.htmlText += " \tnewFocus:\t"+newFocus;
status_txt.htmlText += " \tgetFocus:\t"+Selection.getFocus();
status_txt.htmlText += "</textformat>";
};
Selection.addListener(someListener);
See also
Selection.addListener(),
722
Chapter 2: ActionScript Language Reference
Selection.setFocus()
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers