Copy link to clipboard
Copied
All of the text fields in my swf use my custom library fonts, which import in from a shared swf file.
Is it possible to update the imported font linkage class, such that I can switch the font of all text fields using this font during runtime?
The reason I want to do this is when switching to Chinese/Japanese/Korean in my app, I'd like to switch to a Unicode font, whichout having to update every single text field.
Thanks in advance.
Copy link to clipboard
Copied
Not sure. Give it a shot and let us know if it works!
Copy link to clipboard
Copied
I'm not sure how I'd go about it though. It's essentially updating a class definition at runtime. I imagine things like font classes are constant at runtime.
But I'm not sure. So if anyone has any ideas, please chime in.