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 except the letterSpacing:
searchFieldCountry_txt = new TextField( );
searchFieldCountry_txt.type = TextFieldType.INPUT;
searchFieldCountry_txt.antiAliasType = AntiAliasType.ADVANCED;
searchFieldCountry_txt.embedFonts = true;
searchFieldCountry_txt.border = false;
searchFieldCountry_txt.x = 340;
searchFieldCountry_txt.y = 38;
searchFieldCountry_txt.width = 175;
searchFieldCountry_txt.height = 25;
var formatInput:TextFormat = new TextFormat( );
formatInput.font = "AvantGardeLight";
formatInput.color = 0x000000;
format.letterSpacing = 1;
formatInput.size = 14;
searchFieldCountry_txt.defaultTextFormat = formatInput;
I hope somebody has experience with this,
Thanks in advance,
Sidney
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders