I'm guessing because it's not recognizing the embedded font - you're seeing the character from the default font, not the embedded font.

A few things I try to make sure of:

1. Don't name the embedded font in the Flash 8 swf file the same as the system font.

2. Open the Flash 8 SWF back up into Flash 8 IDE (or CS3 IDE). When you do that, do a list variables - Debug > List Variables. Make note of the 'exported' font name that Flash used for the font. That name is what you'll use in Flex.

For example, on using a pixel font (Kroeger 05_56), I exported the Flash 8 SWF file, the embedded symbol name ended up as "kroeger 05_56_8pt_st". And in Flex, I used this in the CSS as follows:

@font-face {
    src: url(../fonts/Kroeger.swf) ;
    fontFamily: "kroeger 05_56_8pt_st";
    font-weight: normal;
}

And defining the usage of that font, recognizing that in this case it's a pixel font and doesn't use the advanced anti aliasing....

.assetInfoTitle
{
        color:#666666;
        fontFamily: "kroeger 05_56_8pt_st";
        font-weight: normal;
        fontSize: 8;
        fontAntiAliasType: normal;
}

Hopefully that will get you on your way.

best,

Jon



On Sep 16, 2007, at 9:35 AM, candysmate wrote:

I have created a Flash 8 swf as per:
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/ wwhelp.htm?context=LiveDocs_Book_Parts&file=fonts_070_12.html
containing the Windings font.
In my external css files I have :

Reply via email to