FarFeTTu
09-27-2004, 02:51 PM
i have this small problem with a dynamic text field, and i still can't figure out why..
I have created a dynamic text field on stage with a variable name "mytext". Also i have made its autosize property true so that its height would be dynamic according to the text in the textfield.
The problem is that the last line of the text to be shown in the textfield is not showing, don't know why.. I have tried everything i could to get to know why, but all in vain.. I really would appreciate if somebody would help me..
the piece of code is very simple --
//mytext_txt is the name of the dynamic text field
mytext_txt.autoSize = true;
mytext = "This text is not completely showing.. parts are missing.. do you know why?? This text is not completely showing.. parts are missing.. do you know why??"
trace(mytext_txt.text);
also i've attached a small test file which i've made to show you the problem and that not all of the text is showing in the textfield..
nebody knows why??
I have created a dynamic text field on stage with a variable name "mytext". Also i have made its autosize property true so that its height would be dynamic according to the text in the textfield.
The problem is that the last line of the text to be shown in the textfield is not showing, don't know why.. I have tried everything i could to get to know why, but all in vain.. I really would appreciate if somebody would help me..
the piece of code is very simple --
//mytext_txt is the name of the dynamic text field
mytext_txt.autoSize = true;
mytext = "This text is not completely showing.. parts are missing.. do you know why?? This text is not completely showing.. parts are missing.. do you know why??"
trace(mytext_txt.text);
also i've attached a small test file which i've made to show you the problem and that not all of the text is showing in the textfield..
nebody knows why??