Цитата:
Сообщение от bav
 Код AS3:
myTextField.htmlText = '<a href="http://www.google.com" target="_blank">Google</a>';
Свойство htmlText.
|
Одно но, он не будет выглядеть как ссылка. Ему еще нужно стиль задать:

Код AS3:
var style:StyleSheet = new StyleSheet();
style.setStyle("a:link", { textDecoration: 'underline', color: '#0000FF' } );
style.setStyle("a:hover", { textDecoration: 'underline', color: '#FF0000' } );
myTextField.styleSheet = style;
myTextField.htmlText = '<a href="http://www.google.com" target="_blank">Google</a>';