Ver Mensaje Individual
  #5 (permalink)  
Antiguo 01/12/2008, 17:55
Avatar de kukynet
kukynet
 
Fecha de Ingreso: noviembre-2008
Mensajes: 105
Antigüedad: 15 años, 4 meses
Puntos: 2
Respuesta: texto externo y css

Amigazo Yoseman:el codigo que uso es:
En el _root primer fot

Cita:
boton.onRelease=function(){

despliegue.loadVariables("inicio.txt", Texto);

}
dentro del movie desspliegue, en fot clave al presentarse texto dinamico Texto
Cita:
Texto.html = true;
Texto.wordWrap = true;
miEstilo.onLoad = function(cargado:Boolean):Void {
if (cargado) {
Texto.styleSheet = miEstilo;

Texto.htmlText = texto; //variable en el texto externo
} else {
trace("Error cargando el CSS.");
}
};
miEstilo.load("mi.css");
muchas gracias .