Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/12/2007, 15:02
Avatar de SinguerInc
SinguerInc
 
Fecha de Ingreso: octubre-2007
Ubicación: Barcelona, España
Mensajes: 551
Antigüedad: 16 años, 7 meses
Puntos: 5
Re: Parte de texto dinámico de color distinto

si

Código:
var texto:String = "Texto de prueba para el foro, ejemplo test. test, saludos!, ciao.";
createTextField("texto_txt", 1, 0,0, 200, 200);
texto_txt.text = texto;
var fmt:TextFormat = new TextFormat();
fmt.color = 0xFF0000;
texto_txt.setTextFormat(0, 15, fmt);
fmt.color = 0x00FF00;
texto_txt.setTextFormat(20, 25, fmt);
fmt.color = 0x0000FF;
texto_txt.setTextFormat(30, 32, fmt);
si quieres tambien se pueden resalta palabras especificas, si te interesa te lo escribo...

Estoy desarrollando un nuevo juego "PanQueso", te gustaria verlo?, link en mi firma. Comentarios? a veces falla en Firefox...
__________________
/blog.singuerinc.com