package {
import flash.display.Sprite;
import flash.text.TextField;
public class Main extends Sprite {
public function Main( ) {
var field:TextField = new TextField( );
var htmlLink:String = "<font color='#0000FF'><u>";
htmlLink += "<a href='http://www.java2java.com'>Website</a>";
htmlLink += "</u></font>";
field.htmlText = htmlLink;
addChild(field);
}
}
}
|