вариант:

Код:
this.createEmptyMovieClip('cntr',0);
var c=this.cntr;
tf.onSetFocus = function(){
c.onEnterFrame=function(){
this.s=Selection.getBeginIndex();
this.e=Selection.getEndIndex();
}
}
tf.onKillFocus=function(){
trace(this.text.substring(c.s,c.e));
delete c.onEnterFrame;
}
зы: пардон, невнимательно прочел первый пост: такой вариант упоминался, с онмаусмувом даже складнее:

Код:
Mouse.addListener(tf)
tf.onSetFocus = function(){
this.onMouseMove=function(){
this.s=Selection.getBeginIndex();
this.e=Selection.getEndIndex();
}
}
tf.onKillFocus=function(){
trace(this.text.substring(this.s,this.e));
delete this.onMouseMove;
}