FlashDevelop + Haxe - use the built-in font

I added my TTF file to my Haxe project and it seems to be built into swf, but I don't know how to get any of my text fields to use it. How can i do this?

Update. I have a project configured as the same (for the purposes of this question) as this tutorial , and my font does not appear (as long as they are). This seems to be related to the problem described in this forum thread , but since I don't have access to the AS3 code, t tell the compiler about the release of the embed tag with this flag set. What can I do if anything?

+3
source share
1 answer

, text var TextField, . !

+1

Source: https://habr.com/ru/post/1763184/


All Articles