# Font loading at runtime

**URL:** <https://forum.kirupa.com/t/font-loading-at-runtime/326328>\
**Category:** Uncategorized\
**Created:** [December 7, 2011, 3:41am UTC](https://forum.kirupa.com/t/font-loading-at-runtime/326328 "2011-12-07T03:41:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlesg](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@charlesg](https://forum.kirupa.com/u/charlesg)\
**Post date:** [December 7, 2011, 3:41am UTC](https://forum.kirupa.com/t/font-loading-at-runtime/326328/1 "2011-12-07T03:41:40Z")

</div>

Hi,

I’ve been looking for a way to import some fonts at runtime, this way I could provide the user with a font choice. I don’t want to embed all the fonts I’m offering so I would like to be able to load only the fonts the user chooses.

I’ve done a lot of research, but I can’t seem to find a way to do this with flashdevelop. I also have flash cs5, so if I need to create something in there for it to work in FD, I don’t mind.

Can someone please give me a simple working mtasc example? I’ve seen lots of explanations like this: [http://bryanlangdon.com/blog/2007/03/22/loading-fonts-dynamically-in-actionscript-2-and-3/](http://bryanlangdon.com/blog/2007/03/22/loading-fonts-dynamically-in-actionscript-2-and-3/) on the web but to no avail.

Thanks for your help
