[swfmill] embed fonts Flash 9

Mark Winterhalder mark13 at gmail.com
Fri Jun 1 09:25:11 EDT 2007


Hi,

this is a working one I use:

<?xml version="1.0" encoding="iso-8859-1" ?>

<movie width="320" height="240" framerate="12" version="7">
    <frame>
        <library>
            <font name="kass07" id="kass07"
import="/home/m/.fonts/Kassiopeia07 regular.ttf" />
        </library>
        <import url="assets/fonts/kassiopeia07.swf"></import>
    </frame>
</movie>


Note that @url in <import/> must refer to the actual location.
I make sure it has finished loading the font SWF before I use it.

HTH,
Mark


On 6/1/07, Javier Gómez Pose <javierpose at gmail.com> wrote:
> Hi
>
> I created a swf file with an embedded font with swfmill and I was trying to
> use that file as a shared library in an actionscript 3 project, but I didn't
> achieve it. There are several examples using font libraries created with
> Flash or Flex sdk, such as http://nochump.com/blog/?p=20, but I need to use
> swfmill. Could somebody say how or pass me a example?
>
> Thanks
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>



More information about the swfmill mailing list