Clickable TextField
package{ import flash.display.GradientType; import flash.display.Sprite; import flash.geom.Matrix; import flash.text.TextField; public class Main extends Sprite { public function Main() { var head:ClickableHeading = new ClickableHeading("ActionScript","http://www.java2s.com"); addChild(head); } } } class ClickableHeading extends flash.text.TextField { public function ClickableHeading (headText:String, URL:String) { //this.html = true; //autoSize = TextFieldAutoSize.LEFT; htmlText = "<a href='" + URL + "'>" + headText + "</a>"; border = true; background = true; } }