Comunidad de diseño web y desarrollo en internet online

interlineado del texto

Citar            
MensajeEscrito el 15 Feb 2007 10:12 pm
Hola comunidad

Alguien sabe como variar el espaciado entre caracteres en un textinput creado a codigo. ? :(

saludos

Por Zandy

Claber

1345 de clabLevel

5 tutoriales

Genero:Masculino   Premio_Secretos

firefox
Citar            
MensajeEscrito el 16 Feb 2007 03:10 am
Si, usás la propiedad leading de la clase textFormat, podés buscar en la ayuda de Flash para más información.

Por HernanRivas

Claber

3416 de clabLevel

26 tutoriales

 

Argentina

msie
Citar            
MensajeEscrito el 16 Feb 2007 01:07 pm
bueno realmente el leading es para espaciado entre linea y linea, bueno aquí la solución de momento

Código :

cajaTexto.htmlText = "<FONT FACE=\"Candara\" SIZE=\"33\" COLOR=\"#000000\" 
LETTERSPACING=\"-2\" KERNING=\"1\">El texto</FONT>";



saludos y gracias por responder. ^^

Por Zandy

Claber

1345 de clabLevel

5 tutoriales

Genero:Masculino   Premio_Secretos

firefox
Citar            
MensajeEscrito el 16 Feb 2007 06:40 pm
A ver prueba con esto: (mytext es una caja de texto creada con codigo)

Código :

_root.createTextField("mytext", 1, 100, 100, 250, 150);
mytext.type="input";
mytext.border=true;
mytext.multiline = true;
mytext.wordWrap = true;
mytext.border = true;
mytext.type = "input"

var format2:TextFormat = new TextFormat();
format2.letterSpacing = 10;

mytext.text = " ";
mytext.setTextFormat(0, mytext.length, format2);

Por rolv

Claber

2000 de clabLevel

3 tutoriales

 

firefox
Citar            
MensajeEscrito el 16 Feb 2007 07:12 pm
AGGAGAGrr, ahora mismo como quien dice, vi que la propiedad tambien existia para textFormat
te me fuiste alante. :lol: :lol: :lol:

gracias por la respuesta ^^

saludos ^^

Por Zandy

Claber

1345 de clabLevel

5 tutoriales

Genero:Masculino   Premio_Secretos

firefox

 

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