Text format in input fields

I want to use a standard text format on a bunch of input and dynamic textboxes but only get the default settings: ie. it doesn’t apply the format.

Here’s a bit of the code. Note there is a new font in the library named “Font1” with the linkage identifier of “myFont” and set to export for actionscript and export in first frame

my_fmt = new TextFormat();
my_fmt.font = “myFont”;
my_fmt.size = 25;
my_fmt.color = “0x00ffcc”;

this.createTextField(“input_txt”, 1, 100, 100, 100, 30);
input_txt.type = “input”;
//input_txt.text= (" ");
input_txt.border = true;
input_txt.borderColor = “0x000000”;
input_txt.background = true;
input_txt.backgroundColor = “0xffffff”;
input_txt.setTextFormat(my_fmt);
input_txt.variable = “input”;

this.createTextField(“final_txt”, 2, 100,150, 100, 30);
final_txt.type = “dynamic”;
final_txt.border = true;
final_txt.borderColor = “0xFFFFFF”;
final_txt.background = true;
final_txt.backgroundColor = “0xBACACF”;
final_txt.variable = “final”
final_txt.setTextFormat(my_fmt);

createEmptyMovieClip(“button_mc”, 4)
with(button_mc){
lineStyle(1, 0x000000, 100);
beginFill(0x7C986B, 100);
moveTo(210,100);
lineTo(230,100);
lineTo(230,120);
lineTo(210,120);
lineTo(210,100);
endFill;
}

button_mc.onPress = function(){
final = “’”+input+"’" + " said the Pig"
}

The thing is I can get the format showing in the input box only if the line:
//input_txt.text= (" ");
is unremed out (remove the //)
but it’s not reliable as you have to click before the space.
and I have yet to have it applied in the dynamic box.

Does anyone know of a better way to do this??

Thanks,
Pastey.