|
From: | raphael benzazon |
Subject: | Re: [Swftools-common] Font embedding |
Date: | Wed, 1 Oct 2008 10:16:22 +0000 |
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 <address@hidden> wrote:This example I made doesnt work, any help pleaseFor 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 Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre mobile ? la réponse en vidéo la réponse en vidéo |
[Prev in Thread] | Current Thread | [Next in Thread] |