Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/10/2007, 15:01
atiro8
 
Fecha de Ingreso: octubre-2005
Mensajes: 151
Antigüedad: 18 años, 6 meses
Puntos: 1
Texto dinamico, texto en dos colores

Buenas cago un texto externo en dos variables, titular y texto , al titular le quiero ponerle unos estilos de texto y cargar ambos textos en el mismo campo de texto, lo estoy haciendo asi y no me coge los estilos. ¿Se puede hacer esto?
Cita:
System.useCodepage = true;
///////////////////////////////////////////////////
var miLoadVars2:LoadVars = new LoadVars();
miLoadVars2.load(url+"castellano/noticia_tbl.php");
miLoadVars2.onLoad = function(ok) {
if (ok) {
if (miLoadVars2.getBytesLoaded() == miLoadVars2.getBytesTotal()) {
loading._visible = false;
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
var texto = "<span style='color:#993300; font-style:italic; text-shadow:Gray;'>"+miLoadVars2.asunto+"</span><br>";
var texto2 = miLoadVars2.texto;
con_texto_anun.texto_txt.htmlText = texto+texto2;

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
} else {
loading._visible = true;
}
} else {
contenedor.texto_txt.text = "Error en el servidor";
}
};
__________________
www.empresanet.info