Hello, I am customizing my buttons and one of the things i do is
button.defaultLabelProperties.textFormat = new TextFormat("LCD", 18, 0xffffff);
and the LCD font is imported
[Embed(source = "game/assets/fonts/LCD_Solid.ttf", embedAsCFF="false", fontFamily="LCD")] public static const FontLCD:Class; in assets class.
The problem is, font does not change. I can reference the font with "LCD" in other places, but here it somehow does not work.
Thank you. [: