si no recuerdo mal, los campos tipo html ten�an un bug y ten�as que hacer
la asignaci�n del formato tambi�n despu�s de meter los datos, algo del
tipo:
_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>";
textoX.setNewTextFormat(formatoX);
Una vez me pas� y era algo as�, lo repet�as y ya funcionaba, y esto era
alg�n bug conocido, no una soluci�n que se me ha ocurrido a m�, por lo qeu
se supone fiable
Un saludo
> 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
> -------------------------------->
--
Javier Tard�guila
www.design-nation.net
www.design-nation.net/es ( blog en castellano )
www.design-nation.net/en ( english blog )
[EMAIL PROTECTED]
[EMAIL PROTECTED]
<!-------------------------------
Lista ASNativos:
subscripciones/desubscripciones
http://www.sidedev.net/asnativos
-------------------------------->