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