# Loading fonts dynamically from swf

**URL:** <https://forum.kirupa.com/t/loading-fonts-dynamically-from-swf/316017>\
**Category:** Uncategorized\
**Created:** [November 10, 2010, 11:08am UTC](https://forum.kirupa.com/t/loading-fonts-dynamically-from-swf/316017 "2010-11-10T11:08:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![safra91](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@safra91](https://forum.kirupa.com/u/safra91)\
**Post date:** [November 10, 2010, 11:08am UTC](https://forum.kirupa.com/t/loading-fonts-dynamically-from-swf/316017/1 "2010-11-10T11:08:44Z")

</div>

[FONT=Arial]Hi, I am currently struggling big time with whole process of dynamic font loading. I created several swf’s. Each swf has its own font type with different styles. I have 3 swfs:[/FONT]  
[FONT=Arial] [/FONT]  
[FONT=Arial]1. arial: 4 fontclasses, regular, bold, italic, boldItalic[/FONT]  
[FONT=Arial]2. verdana: 3 fontclasses, regular, bold, italic[/FONT]  
[FONT=Arial]3. tahoma: 2 fontclasses, regular, bold[/FONT]  
[FONT=Arial] [/FONT]  
[FONT=Arial]In the first frame I have “Font.registerFont(classname);” for all available font classes and I also have a dynamic textfield on the stage for each class with the specific font selected.[/FONT]  
[FONT=Arial] [/FONT]  
[FONT=Arial]So I am loading these swf’s in my main project. [/FONT][FONT=Arial]For the Tahoma swf all works well, I can switch between “regular” and “bold”. [/FONT][FONT=Arial]For Arial however only “regular” works well. When choosing the bold version the textfield gooes all blank and italic appears as regular. I doubled check the properties of the font classes of Arial, they all seems ok.[/FONT]  
[FONT=Arial][/FONT]  
[FONT=Arial]I know it is difficult without seeing it but maybe this rings a bell with one of you? Does anyone has any idea what could be wrong? Or what I could try?[/FONT]  
[FONT=Arial][/FONT]  
[FONT=Arial]Raoul[/FONT]
