[swfmill] Font not visible at first

Flash Mediastart flash at mediastart.fr
Wed Aug 6 00:52:42 PDT 2008


(Sorry for the previous post not send correctly)

Hi list !

I try to create font  with swfmill and use it in a flash application.
In order to create font I use an xml like :

*<?xml version="1.0" encoding="UTF-8" ?>

<movie width="1" height="1" framerate="12">
    <frame>
        <library>
           <font name="Face Front" import="bin/fonts/Face 
Front.ttf"/>              
        </library>
         <Import url="swf/fonts/latin-basic/Face Front.swf"></Import>
    </frame>
</movie>*


In my file build.dat wiche create the font unsing swfmill iI have this :

*swfmill.exe simple "bin\xml\Face Front.xml" "swf\fonts\latin-basic\Face 
Front.swf"


pause


exit*


The swf of the font is correctly create. When I want to use this 
generate font, I load the swf in my application and when is loaded I 
create a textfield with the embedFonts properties turn on true, I create 
a textformat with the propertie "font" set with the name of the font : 
*Face Front *in this example.
When I launch the main swf of my application I see nothing, but if 
with the flash contextual menu I change the zoom the textField suddenly 
appear, I can next set the normal zoom and it is ok too.

It is very strange, I don't know if the cause is the swf file of the 
font ... But I think it is not strangeer of the probleme. Because, if I 
try to creta simple textfield they are display without problem.

Can anybody help me ?   :-) 

Thanks

_______________________________________________
swfmill mailing list
swfmill at osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swfmill_osflash.org/attachments/20080806/8054f143/attachment.html 


More information about the swfmill mailing list