So I've been getting some questions about text links in as3 lately, so I'll blog about it.
If you want just a simple text link from dynamic text in as3, here's your solution. This is only good for clicks, not for mouseovers, but i do have another solution for that.
First set the text:
textFieldName.html = "I want either a Large pizza or a Extra Large pizza";
Next add the TextEvent Listener with the event Link and the method: More
textFieldName.addEventListener(TextEvent.LINK, textLinkHandler);
function textLinkHandler(e:TextEvent):void {
switch(e.text) {
case "large":
trace("Make it a LARGE");
break;