Using FTE CFF Font in Flash: Class mx.core::FontAsset could not be found.

Firstly, if you are not using SSL for all your sites, you should step it up! NameCheap's SSL certificates start at only $9. There's no excuse!
Firstly, if you have not tried Digital Ocean's SSD Virtual Servers for only $5/mo, I highly recommend them!

This happened when I was using a CFF font in a non-Flex project. I compiled my font and the Flex compiler will leave out FontAsset because it thinks the host SWF will have this class – well, not so if it’s not Flex. So, when compiling your font you have to tell the compiler to include any Flex classes in your font SWF:

-static-link-runtime-shared-libraries=true

About this entry


Good Reads