How exactly do I embed a font in a TextInput field? I tried the following:
var tf:TextFormat = new TextFormat( ) ;
tf.size = 13 ;
tf.color = 0xffffff ;
tf.font = “Arial” ;
txtfield.setStyle( “textFormat”, tf ) ;
txtfield.setStyle( “embedFonts”, true ) ;
This works fine locally, but when I upload the movie to a server the font mysteriously becomes the default black Times New Roman again. Why does this happen?