Actually, using the fontStyles method I'm not seeing my font show up at all on device - both when the TextInput is focused and not. Both methods worked as expected in adl. This is my code:
_input = new TextInput();
_input.textEditorFactory = function():ITextEditor
{
return new StageTextTextEditor();
}
_input.fontStyles = new TextFormat( "Gatty", 30, 0xf48ce6, "left" );
_input.setFontStylesForState( TextInputState.FOCUSED, new TextFormat( "Gatty", 30, 0xf48ce6, "left" ));
_input.setFontStylesForState( TextInputState.ERROR, new TextFormat( "Gatty", 30, 0xf48ce6, "left" ));
_input.setFontStylesForState( TextInputState.DISABLED, new TextFormat( "Gatty", 30, 0xf48ce6, "left" ));
_input.setFontStylesForState( TextInputState.ENABLED, new TextFormat( "Gatty", 30, 0xf48ce6, "left" ));
_input.maxChars = 18;
_input.restrict = "A-Z 0-9 a-z";
_input.text = Constants.USER_NAME;
_input.width = _bg.width*0.33;
_input.height = _bg.height*0.45;
_input.x = _bg.width*0.34;
_input.y = _bg.height*0.26;
addChild(_input);