formato.Color = 0x000000;// color es con minuscula
texot.html = TRUE;// donde pones texto, debes poner el nombre de tu campo,
en este caso textoX

Paulo.


----- Original Message -----
From: "Ivan Rodriguez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 12, 2004 3:57 PM
Subject: [ASNativos] Problema con HTML en createTextField


Buenas, estoy intentando renderizar html en una caja de texto que creo asi:

<code>
formato = new TextFormat();
formato.font = "verdana";
formato.Color = 0x000000;
formato.size = 10;
formato.align = "justify";
formato.bold = false;
formato.italic = false;

_root.createTextField("textoX", 0, 0, 0, 100, 20);
textoX.setNewTextFormat(formatoX);
//--formato de campo de texto--------
texot.html = TRUE;
texto.htmlText = "<b>Esto deberia aparecer en negrita</b>";
texto.type = "input";
texto.selectable = false;
texto.multiline = true;
texto.wordWrap = true;
texto.border = false;
texto.borderColor = 0xFFFFFF;
texto._width = 300;
texto._height = 200;
texto._x = 250;
texto._y = 100;
</code>

Pues bien esto no funciona, alguien sabe por que?

Muchas gracias

Iv�n Rodriguez Espada
_________________________
ALAPLAYA.COM
http://www.alaplaya.com
[EMAIL PROTECTED]
<!-------------------------------
Lista ASNativos:
subscripciones/desubscripciones
http://www.sidedev.net/asnativos
-------------------------------->




<!-------------------------------
Lista ASNativos:
subscripciones/desubscripciones
http://www.sidedev.net/asnativos
-------------------------------->

Responder a