Skip to main content
Known Participant
July 9, 2020
Question

Update imported font linkage class during runtime?

  • July 9, 2020
  • 2 replies
  • 218 views

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.

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Joseph Labrecque
Community Expert
Community Expert
July 15, 2020

Not sure. Give it a shot and let us know if it works!

Known Participant
July 15, 2020

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.