# Embedding fonts for use AS3 and MXML

**URL:** https://forum.kirupa.com/t/embedding-fonts-for-use-as3-and-mxml/325201
**Category:** flash
**Created:** [September 30, 2011, 9:48pm UTC](https://forum.kirupa.com/t/embedding-fonts-for-use-as3-and-mxml/325201 "2011-09-30T21:48:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![budkin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/budkin/32/1457_2.png) [@budkin](https://forum.kirupa.com/u/budkin)
#### Post date: [September 30, 2011, 9:48pm UTC](https://forum.kirupa.com/t/embedding-fonts-for-use-as3-and-mxml/325201/1 "2011-09-30T21:48:59Z")

</div>

I’ve got a Flex project that has some AS3 components that are attached to it. I need to use embedded fonts in both sets of components. I’ve done many font embedding tutorials for both AS3 and MXML and know how to do both, but I still can’t figure out a good way to reference the fonts in both sets. Usually I have to embed the font twice, once for AS3 and once for MXML. Anyone have a good strategy for sharing embedded fonts? I may just be overlooking something very obvious. Thanks.
