包含两种情况
1、js侦听
txt.htmlText = "<a href='javascript:textOnclick();'>内容</a>";
textOnclick为包含当前swf所在的页面上的js函数
2、flex监听
txt.htmlText = "<a href='event:click'>con</a>";
txt.addEventListener(TextEvent.LINK,linkhandle);
function linkhandle(textEvt:TextEvent):void{
trace(textEvt.type); //link
trace(textEvt.text); //click
trace(textEvt.target.text) ; //con
}