[Flashcoders] Embed Fonts in Main SWF

2009-05-07 Thread Dav
Hi guys, simple question for you!

If I have a main swf file that has font's embedded via AS3.
I load a child swf into a movieclip on the main swf.
Can the child swf use the embedded fonts from the main swf?

I've tried and so far I haven't managed to get this working, obviously if I
embed the fonts into the child swf the fonts appear as expected.

Cheers!
Dav

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Embed Fonts in Main SWF

2009-05-07 Thread Steven Sacks

You can embed specific ranges like this:

http://www.gaiaflashframework.com/index.php/topic,1678.msg7436.html#msg7436

If you put the font in the library, you can just set the font to  
export in frame 1, give it a class name and then


Font.registerFont(fontClassName);

Easy peasy.


On May 7, 2009, at 9:51 AM, Dav wrote:


Hi guys, simple question for you!

If I have a main swf file that has font's embedded via AS3.
I load a child swf into a movieclip on the main swf.
Can the child swf use the embedded fonts from the main swf?

I've tried and so far I haven't managed to get this working,  
obviously if I

embed the fonts into the child swf the fonts appear as expected.

Cheers!
Dav

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders