package{ import flash.display.Sprite; import flash.text.*; public class Main extends Sprite{ public function Main(){ var tContent:TextField = new TextField(); tContent.htmlText = "<a href='http://www.java2java.com' target='_blank'>www.java2java.com</a>"; addChild(tContent); } } }