function onSetFocus(oldObj,newObj){ trace(newObj + " has focus"); trace(oldObj + " left focus"); } Selection.addListener(this);