muchas gracias
----- Original Message -----
From: "Carlos Terradillos Guti�rrez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 12, 2004 4:41 PM
Subject: RE: [ASNativos] Problema con HTML en createTextField
> A ver, s�lo son errores tipogr�ficos y un bug como comentaban
> anteriormente:
>
> formato = new TextFormat();
> formato.font = "verdana";
> formato.Color = 0x000000;
> formato.size = 18;
> formato.align = "left";
> formato.bold = false;
> formato.italic = false;
> _root.createTextField("texto", 1, 0, 0, 100, 20);
> //--formato de campo de texto--------
> texto.multiline = true;
> texto.wordWrap = true;
> texto.border = true;
> texto.html = true;
> texto.htmlText = "<b>Esto deberia aparecer en negrita y verdana a 18
> px</b>";
> texto.type = "input";
> texto.selectable = true;
> texto.borderColor = 0x000000;
> texto._width = 300;
> texto._height = 200;
> texto._x = 250;
> texto._y = 100;
> // La l�nea de abajo no hace falta repetirla, s�lo ponerla al final.
> texto.setTextFormat(formato);
>
> Saludos.
>
> :��: croma2 :������������������������:
> : Carlos Terradillos Guti�rrez :
> ::::::::::::::::::::::::::::::::::::::
>
>
> >
> > 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);
> --------
> _root.createTextField("texto", 0, 0, 0, 100, 20);
>
> > textoX.setNewTextFormat(formatoX);
> --------
> textoX.setNewTextFormat(formato);
>
> > //--formato de campo de texto--------
> > texot.html = TRUE;
> ----- ----
> texto.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
> >
>
> <!-------------------------------
> Lista ASNativos:
> subscripciones/desubscripciones
> http://www.sidedev.net/asnativos
> -------------------------------->
>
<!-------------------------------
Lista ASNativos:
subscripciones/desubscripciones
http://www.sidedev.net/asnativos
-------------------------------->