Eddie,
I'm not entirely sure if I understand your question correctly but I'll
tell you what we do and perhaps it will help.
Instead of just making a swf that is nothing more than the font, we take
our original swf made with the Flash IDE that has been designed such
that it
does not have the font embedded, but still refers to the font in the
text fields.
So we'd create a file (mov.xml) that looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<movie version="8" width="728" height="90" framerate="24">
<background color="#FFFFFF"/>
<frame>
<library>
<clip id="image01" import="some.png" />
<font name="font1" import="georgia.ttf" />
</library>
<clip id="template" import="original.swf" />
<place id="template" depth="0" />
</frame>
</movie>
Where in this example we are also embedding and image named some.png
that will have the id image01. The swf created in flash, in this case,
original.swf would have it's text fields reference a font named "font1".
We'd then run:
swfmill simple mov.xml final.swf
Actually in our case .. we'd really do this:
swfmill simple mov.xml temp.swf
swfmill swf2xml temp.xml
// ... in here we execute some code on the xml to customize things
swfmill swf2xml temp.xml final.swf
Hope this helps. I don't really know much more than that, being a novice
myself at swfmill and flash. (I'm a back-end programmer)
Lynn
------------------------------------------------------------------------
---
Date: Wed, 1 Oct 2008 16:47:05 +0200
From: "Eddie Adams" <[EMAIL PROTECTED]>
Subject: [swfmill] Font embedding into Flash IDE
To: [email protected]
I have just completed every thread about font embedding and didnt find a
working solution. I am trying to embed fonts by using the following xml
file:
?xml version="1.0" encoding="iso-8859-1" ?>
<movie width="320" height="240" framerate="12">
<frame>
<library>
<font id="EstaBold" import="EstaBold.ttf"/>
</library>
</frame>
</movie>
(swfmill simple "font.xml" "font.swf")
The fonts are imported into the font.swf file, for sure. None of the
related
threads shows a working explanation of how to embed the fonts into a swf
created by the Flash IDE.
Many of the threads are outdated, what is today's solution?
Greetings,
Eddie
This message and any attachments are intended only for the use of the addressee
and may contain information that is privileged and confidential. If the reader
of the message is not the intended recipient or an authorized representative of
the intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication
in error, please notify us immediately by e-mail and delete the message and any
attachments from your system.
_______________________________________________
swfmill mailing list
[email protected]
http://osflash.org/mailman/listinfo/swfmill_osflash.org