import flash.display.*;
import flash.filters.*;
import flash.text.*;
var styleSheet:StyleSheet = new StyleSheet();
var normalStyle:Object =
{
color : "#000000",
fontFamily : "_ゴシック",
fontSize : 14,
fontWeight : "normal",
leading : 3,
textDecoration : "underline"
};
var overStyle:Object =
{
color : "#999999"
};
styleSheet.setStyle("a", normalStyle);
styleSheet.setStyle("a:hover", overStyle);
var textField:TextField = new TextField();
textField.autoSize = TextFieldAutoSize.LEFT;
textField.selectable = true;
textField.filters = [new ColorMatrixFilter()];
textField.multiline = false;
textField.htmlText = "<a href='test.html' target='_blank'>テスト</a>";
textField.styleSheet = styleSheet;
addChild(textField);