Comunidad de diseño web y desarrollo en internet online

formateo texto dinamico

Citar            
MensajeEscrito el 11 Jul 2005 01:37 am
Hola,

Tengo este código para dar formato al texto y embeber la fuente que he añadido a la biblioteca.

Código :

miFormato = new TextFormat("mifuente");
with (this.links_mc.txt) {
   embedFonts = true;
   htmlText = "<b>COMIC</b><br><br><li><a href='http://www.aletaediciones.com' target='_blank'><font color='#FF9933'><i>Aleta Ediciones</i></font></a><br><a href='http://www.anillodesirio.com' target='_blank'><font color='#FF9933'><u>Magia y Acero</u></font></a></li><br><br><b>ANIMACION INFANTIL</b><br><br><li><a href='http://www.elgranjordiet.tk' target='_blank'><font color='#FF9933'><u>El Gran Jordiet</u></font></a></li><br><br><a>INFORMATICA</a><br><br><li><a href='http://www.sogest-informatica.com' target='_blank'><font color='#FF9933'><u>Sogest</u></font></a></li>";
}
this.links_mc.txt.setTextFormat(miFormato);



En principio funciona bien, pero ignora las etiquetas bold e italic ¿Alguine sabría por qué me ocurre esto? Agradecería una orientación para solucionar este tema. Saludos.

Por eli

6 de clabLevel



Genero:Masculino  

Valencia

msie
Citar            
MensajeEscrito el 11 Jul 2005 02:13 pm
mmm que textos estas usando y ,ejor si lo calocas para bajarlo, checa que ese texto tenga las opciones de B y I

Saludos :D

Por flasher

Invitado



 

firefox
Citar            
MensajeEscrito el 14 Jul 2005 06:06 pm

Por eli

6 de clabLevel



Genero:Masculino  

Valencia

msie
Citar            
MensajeEscrito el 14 Jul 2005 06:32 pm
mmm quitale esto

Código :

embedFonts = true;

y dale un tamaño de 10 al texto

Saludos :D

Por flasher

Invitado



 

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.