Hi guys,
I’ve searched in the forum but I haven’t find this issue.
I’ve created a code that read the date of a day from xml and then put it into a textfield.
Here the declaration of the textfield:
var dateTxt:TextField = new TextField();
After i set for the textfield a format and the maxchars property:
dateTxt.defaultTextFormat = txtSTit;
dateTxt.maxChars = 8;
But if I insert a number of charaters bigger that maxChars it is inserted in the textfield ingnoring the maxChars property.
It’s because i’ve setted the defaultTextFormat before to set the maxChars property?
Please help me.
Thanks