ActionScript in TextField loaded with html code

Is there any way to load HTML text (with hyperlinks) into TextField as if I click on the link it will not opens link in browser, but executes some ActionScript?