Text Display Problem...


i want place 3 or 4 text fields in line. each text field having text. , changed font size of text in textfields dynamically.

i assign x value each textfield follows:

 

let consider txt0,txt1,txt2 , tx3 fields there...

 

txt0.x = 0;

txt1.x = txt0.x + txt0.textwidth + 5;

txt2.x = txt1.x + txt1.textwidth + 5;

..... that

 

i placed these textfields in moveiclip in 1 line.

but problem is, when change font size,if textfield having 2 words, display first word second word displayed half.

 

suppose if "soup song..." text in txt0. displayed "soup so"

 

please me if know. , think width of textfield problem. if please mention, how solve it?

research textfield class autosize property.



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

PProHeadless.exe has stopped working error when opening projects in Adobe Media Encoder CS6

Preconditions Failed. - Joomla! Forum - community, help and support