Показать сообщение отдельно
Старый 25.01.2007, 14:46
etc вне форума Посмотреть профиль Найти все сообщения от etc
  № 12  
Ответить с цитированием
etc
Et cetera
 
Аватар для etc

Регистрация: Sep 2002
Сообщений: 30,787
Цитата:
Сообщение от iNils
Код:
var myformat:TextFormat = new TextFormat ();
myformat.url = "http://www.macromedia.com";
myformat.underline = true;
this.createTextField ("mytext", 1, 100, 100, 200, 100);
mytext.multiline = true;
mytext.wordWrap = true;
mytext.border = true;
mytext.html = true;
mytext.text = "Go to Macromedia.com";
mytext.setTextFormat (6, 20, myformat);
Те же яйца, только в профиль
Не будет работать без html = true;
Цитата:
Edit Text: Target="_level0.mytext"
htmlText = "<P ALIGN=\"LEFT\"><FONT FACE=\"Times New Roman\" SIZE=\"12\" COLOR=\"#000000\" LETTERSPACING=\"0\" KERNING=\"0\">Go to <A HREF=\"http://www.macromedia.com\" TARGET=\"\"><U>Macromedia.com</U></A></FONT></P>"