I have an input text field and a button that changes the font, here is the code the changes the font...
This changes the font allready in the input box and if i select edit an area inside of the text it carrys on writing in this font if however if i place the cursor at the end of the text in the input box it continues to output in the previous selected font, any ideas?
Code:
typeface1.onRelease = function(){
format = new TextFormat();
format.font = "Times New Roman";
format.italic = true;
format.size = 18;
test.setTextFormat(format);
}
This changes the font allready in the input box and if i select edit an area inside of the text it carrys on writing in this font if however if i place the cursor at the end of the text in the input box it continues to output in the previous selected font, any ideas?