# Embedding fonts in as3 from swf

**URL:** https://forum.kirupa.com/t/embedding-fonts-in-as3-from-swf/232136
**Category:** flash
**Created:** [July 11, 2007, 2:00pm UTC](https://forum.kirupa.com/t/embedding-fonts-in-as3-from-swf/232136 "2007-07-11T14:00:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![superpeppe](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@superpeppe](https://forum.kirupa.com/u/superpeppe)
#### Post date: [July 11, 2007, 2:00pm UTC](https://forum.kirupa.com/t/embedding-fonts-in-as3-from-swf/232136/1 "2007-07-11T14:00:07Z")

</div>

Hi

I recently bought a font, but it is in OTF format, and flex2 can not read that only trueType.  
But I guess that there is some way i can embed them in Flash mx 2004 and then embed the SWF in flex… But how is this done? Please do a step by step guide for embedding them in mx 2004, and write the as3 code, because i found some on the net but they does not seem to work.

Thanks in advance
