Hi List,
Does anyone know if it is possible to have letter spacing in an input
field (a field where you type in text) in AS3.
I know you can do it on a dynamic or a normal textfield.
I also tried in the IDE, but that does not work. (with embedded font)
The code i have is this, it all works
I am not 100% on whether letter-spacing works as I have not tried it,
but you may have to reapply the format each time the text in the input
field is changed.
Add a change listener
Sidney de Koning wrote:
Hi List,
Does anyone know if it is possible to have letter spacing in an input
field
Maybe a typo error?
Check your code:
var formatInput:TextFormat = new TextFormat( );
formatInput.font = AvantGardeLight;
formatInput.color = 0x00;
format.letterSpacing = 1;
formatInput.size = 14;
searchFieldCountry_txt.defaultTextFormat = formatInput;
See that you used format instead of
3 matches
Mail list logo