Problem with embed fonts in Avatar Skin

Post here your questions about the OpenSpace 1.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
helloniklas
Posts: 21
Joined: 14 Sep 2009, 10:18
Location: London
Contact:

Problem with embed fonts in Avatar Skin

Post by helloniklas »

So, I have a problem to use embedded fonts with the avatar skins. This works fine with the test avatars swf from the examples. But if I recompile my own (or the example for that matter) with an .as files for the avatar set up, it somehow doesn't pick up the font.

Now, I'm sure I got the fonts on my system when I compile the swf, but it just doesn't show up. If I switch of the embedFonts in the .as class it shows up, but obviously not embedded.

So, any ideas why this is? I'm using CS4 to compile, might that be it?

Also, if I'd like to use a font from my main application (I'm using Flex with css fonts) instead of the font embedded in the avatar swf, how do I best do that?

Thanks,

Niklas
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Have you tried importing the font in the Flash library? Right-click on the library panel and choose "New font".
Paolo Bax
The SmartFoxServer Team
Post Reply