Comunidad de diseño web y desarrollo en internet online

textfied y textformat

Citar            
MensajeEscrito el 11 Nov 2009 10:08 pm
si cree un TextField... y un TextFormat, agrego .text a mi campo "texto1" y si despues aplico un TextFormat y cambio el .text ya no me hace este cambio :(

var miTexto:TextField = new TextField();
var formato:TextFormat = new TextFormat();
formato.font="Verdana";
formato.size = pxVar;
formato.color = 0x3FCDEB;
formato.letterSpacing = limiteSpaciado;
miTexto.text = "MiActionScript.com";
miTexto.setTextFormat (formato);
miTexto.text = "Otro texto";


Alguien sabe por que?

Por MiactionScript

77 de clabLevel



 

chrome
Citar            
MensajeEscrito el 11 Nov 2009 10:09 pm
Mas resumido: aqui pone el texto

miTexto.text = "MiActionScript.com";
miTexto.setTextFormat (formato);

pero si despues agrego otro:

miTexto.text = "Otro texto";

ya no me cambia el texto, creo que hay un problema al poner el setTextFormat :(

Por MiactionScript

77 de clabLevel



 

chrome

 

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