Hi,



    I think that you must load the file to be able to use the font. I
don't know any AS instruction to load only the library. There is a way
to link a library from one swf to another, but the process is made in
the flash IDE only.



    If you want to use an imported font, I found a solution that works
by loading the file that contains the font in place of the symbol that
contains the text field that will use it. If the textfield is not in
the branch of the imported font (symbol hierarchy), flash player may
not find the font.



Best Regards





Matthias Kramm a écrit :

  On Tue, Sep 30, 2008 at 12:47:54AM +0200, Eddie Adams <[EMAIL PROTECTED]> 
wrote:
  
  
    This example I made doesnt work, any help please
    
  
  
For font import to work, you'll have to use an ImportAssets
tag.
I'm not sure what the ActionScript equivalent of this thing
is, but you might want to search your flash IDE for some way 
to "import assets from another movie". 
Ideally, you'd specify the font swf file and the font name (that's 
what's contained in the ImportAssets tag on the SWF binary level).

What you were doing so far is load a complete swf as MovieClip. 
ExportAssets/ImportAssets is different, as it only loads pieces
out of an swf into another file (think of the former file 
like a library).

Greetings

Matthias






  




_________________________________________________________________
Email envoyé avec Windows Live Hotmail. Dites adieux aux spam et virus, passez 
à Hotmail ! C'est gratuit !
http://www.windowslive.fr/hotmail/default.asp

Reply via email to