Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/11/2005, 21:00
Avatar de TMeister
TMeister
Crazy Coder
 
Fecha de Ingreso: enero-2002
Ubicación: En la Oficina
Mensajes: 2.880
Antigüedad: 22 años, 3 meses
Puntos: 193
Código:
var texto:String = "Un ejemplo de Efecto de texto... =)";
var count:Number = 0;
var wait;
var formato:TextFormat = new TextFormat();
function init() {
	formato.font = "Tahoma"
	formato.size = 12;
	this.createTextField("label_txt", 10, 50, 50, 0, 0);
	label_txt.autoSize = true;
	wait = setInterval(ponLetra, 100);
}
function ponLetra() {
	if (count<texto.length) {
		label_txt.text = texto.substr(0, count);
		label_txt.setTextFormat(formato);
		count++;
	} else {
		label_txt.text = texto
		label_txt.setTextFormat(formato);
		clearInterval(wait);
	}
}
Copia pega y prueba...

saludos!!